Hello stephan, the only workaround that I have found is to wrap all the call inside an eval block using the alarm system call to exit at the end of the timeout...
eval { local $SIG{ALRM} = sub { die "script timed out after $timeout sec\n" }; alarm($timeout); /* your stuff here */ } if ( $@ ) { /* code to check if timedout */ } Best regards, Agostino di Salle On Fri, 22 Aug 2003, Stadler Stephan wrote: > hi > > i have tried follwoing example on a SSL url (https): > > my $ua = new LWP::UserAgent; > > # set read timeout > $ua->timeout(1); > > but the read timeout not occurs.... > > when i make an request to http without SSL the timeout works fine... > > you probably can help me? > > thx stadler stephan > > ------------------------------------------------------------- > Dipl.-Ing. Stephan Stadler mailto:[EMAIL PROTECTED] > PDTS - Prozessdatentechnik und Systeme > Gesellschaft fuer industrielle Datenverarbeitung Ges.m.b.H. > A-1150 Wien, Moeringgasse 20 > Tel.: +43 (1) 526 17 57-503 Fax.: +43 (1) 526 17 57-199 > WWW: http://www.pdts.at > ------------------------------------------------------------- >