Skip Menu |
 

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 81799
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: tsibley [...] cpan.org
YKAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 6.04
Fixed in: (no value)



Subject: read timeout does not work
Download (untitled) / with headers
text/plain 692b
Read timeout does not work in 6.04 (Net::HTTP::Mehtods calls 'can_read' without parameters, as Net::HTTP::Mehtods::can_read don't need this parameters (it obtains it from $self), but LWP::Protocol::http::SocketMethods::can_read is called instead, which if called without timeout parameter waits indefinitely). 6794fa73e92d63e973b38f97299b4181bdd7ee8b fix this issue, unfortunately it was committed late, after 6.04 was released It's very important feature. Without read timeout detection, requests just freezing for very long period (until connection closed with TCP keepalive or when firewall state expires and read returns with EPERM errno). Please make a release with this fix. Thanks!
Download (untitled) / with headers
text/plain 957b
On 2012-12-08 10:18:33, YKAR wrote: Show quoted text
> Read timeout does not work in 6.04 (Net::HTTP::Mehtods calls 'can_read' > without parameters, as Net::HTTP::Mehtods::can_read don't need this > parameters (it obtains it from $self), but > LWP::Protocol::http::SocketMethods::can_read is called instead, which if > called without timeout parameter waits indefinitely). > > 6794fa73e92d63e973b38f97299b4181bdd7ee8b fix this issue, unfortunately > it was committed late, after 6.04 was released > > It's very important feature. Without read timeout detection, requests > just freezing for very long period (until connection closed with TCP > keepalive or when firewall state expires and read returns with EPERM
errno). Show quoted text
> > Please make a release with this fix. >
Related: I have t/local/http.t extended with a timeout test. It's not yet polished, but for interesting parties here to see: https://github.com/eserte/libwww-perl/commits/timeout-test Regards, Slaven
Download (untitled) / with headers
text/plain 304b
On Sat Dec 08 10:18:33 2012, YKAR wrote: Show quoted text
> 6794fa73e92d63e973b38f97299b4181bdd7ee8b fix this issue, unfortunately > it was committed late, after 6.04 was released
This is a very frustrating bug. Can a 6.05 release be made just to address the fix that's been sitting in git for nearly 3 months? Thomas
Download (untitled) / with headers
text/plain 140b
I am waiting on the release of 6794fa73e92d63e973b38f97299b4181bdd7ee8b as well. We have encountered the same bug. Any ETA on its release?
libwww-perl-6.05 was released Mar 11th.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.