Bug 919448

Summary: LWP::UserAgent does not handle time-out with Net-HTTP-6.04
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-libwww-perlAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: mmaslano, ppisar, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-libwww-perl-6.04-5.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-22 00:09:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2013-03-08 13:59:38 UTC
libwww-perl is does not honor time-out with Net-HTTP 6.04.

$ nc -lp 2000&
$ lwp-request -m GET -t 4 http://localhost:2000/

This should time out in 4 seconds, but it does.

This is fixed in upstream development tree with

commit 6794fa73e92d63e973b38f97299b4181bdd7ee8b
Author: Gisle Aas <gisle>
Date:   Thu Nov 8 21:07:33 2012 +0100

    With Net::HTTP 6.04 we don't need our own can_read() and sysread override

by removing overloaded wrong implementation which is now provided by Net-HTTP 6.04 correctly.

See <https://rt.cpan.org/Public/Bug/Display.html?id=81799>.

Comment 1 Fedora Update System 2013-03-08 15:05:23 UTC
perl-libwww-perl-6.04-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-libwww-perl-6.04-4.fc18

Comment 2 Fedora Update System 2013-03-08 15:05:47 UTC
perl-libwww-perl-6.03-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-libwww-perl-6.03-3.fc17

Comment 3 Fedora Admin XMLRPC Client 2013-03-12 14:16:00 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Update System 2013-03-12 14:24:01 UTC
perl-libwww-perl-6.05-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-libwww-perl-6.05-1.fc18

Comment 5 Fedora Update System 2013-03-12 23:31:52 UTC
Package perl-libwww-perl-6.05-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-libwww-perl-6.05-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3762/perl-libwww-perl-6.05-1.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-03-22 00:09:49 UTC
perl-libwww-perl-6.05-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-03-25 22:50:57 UTC
perl-libwww-perl-6.03-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.