Bug 919448 - LWP::UserAgent does not handle time-out with Net-HTTP-6.04
Summary: LWP::UserAgent does not handle time-out with Net-HTTP-6.04
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-libwww-perl
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-08 13:59 UTC by Petr Pisar
Modified: 2013-03-25 22:50 UTC (History)
3 users (show)

Fixed In Version: perl-libwww-perl-6.04-5.fc19
Clone Of:
Environment:
Last Closed: 2013-03-22 00:09:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 81799 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.