in reply to Re^2: LWP::UserAgent request ignores timeout when internal server error encountered
in thread LWP::UserAgent request ignores timeout when internal server error encountered

Counter-example as SSCCE:

use strict; use warnings; use LWP::UserAgent; use Test::More tests => 1; my $ua = LWP::UserAgent->new (); $ua->timeout (5); my $start = time; my $res = $ua->get ('https://www.sco.com:666/'); my $duration = time - $start; cmp_ok ($duration, '<', 10, 'Short timeout triggered');
  • Comment on Re^3: LWP::UserAgent request ignores timeout when internal server error encountered
  • Download Code