Hi,

I am encountering a timeout problem in LWPng-alpha-0.24.
My application contains the following code:

  if (UNIVERSAL::isa($ua, "LWP::UA")) {
    if (@_) {
      $self->{'timeout'} = shift;
      foreach my $scheme (qw(http: https:)) {
        my $cp = $ua->uri_attr_update('SCHEME' => $scheme);
        $cp->{'conn_param'}->{'IdleTimeout'} = $self->{'timeout'};
      }
    }
    $self->{'timeout'};
  } else {
    @_ ? $ua->timeout(shift) : $ua->timeout();
  }

Which should set appropriate timeout values. When debugging
the program, I can see that the IdleTimeout value is
recognized in LWP::Conn::HTTP::new. However, my script aborts
after 3 minutes, which is the Timeout value.

Any ideas? Btw, is LWPng dead? I see, to my surprise, that
the latest release is from 1998?


Thanks in advance,

Jochen

Reply via email to