Quoting Stadler Stephan <[EMAIL PROTECTED]>: > 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... >
Make sure you are using the latest Crypt::SSLeay. If you are Win32 platform, the timeout might not work due to lack of alarm(). Try a timeout higher than 1 second, how about 10 or 5 ? There may be some timeout calculation login that is rounding down 1 in Crypt::SSLeay. Regards, Josh