Skip Menu |

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

Report information
The Basics
Id: 119482
Status: rejected
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: porton [...] narod.ru
Cc:
AdminCc:

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



Subject: $ua->get() hangs for certain URLs
Date: Mon, 26 Dec 2016 16:12:14 +0200
To: bug-libwww-perl [...] rt.cpan.org
From: Victor Porton <porton [...] narod.ru>
The following Perl script hangs. The bug is specific to certain sites/URLs. For example, if we replace the URL with http://google.com it works as expected. I suspect it is related with "Expires:" header in the past. #!/usr/bin/perl use strict; use warnings; use LWP::UserAgent; my $ua = new LWP::UserAgent; my $r = $ua->get('http://www.water.gov.il/hebrew/pages/kineret.xml'); # my $r = $ua->get('http://google.com');
Subject: Re: [rt.cpan.org #119482] AutoReply: $ua->get() hangs for certain URLs
Date: Mon, 26 Dec 2016 16:20:04 +0200
To: bug-libwww-perl [...] rt.cpan.org
From: Victor Porton <porton [...] narod.ru>
I've forgotten to say that the version of LWP::UserAgent which I tested is 6.15.
Subject: Re: [rt.cpan.org #119482] AutoReply: $ua->get() hangs for certain URLs
Date: Mon, 26 Dec 2016 17:01:08 +0200
To: bug-libwww-perl [...] rt.cpan.org
From: Victor Porton <porton [...] narod.ru>
It is a bug in their Web site, not in Perl. For example, the following HTTP session receives no reply after I press Enter at the end of the headers twice: $ telnet www.water.gov.il www Trying 147.237.77.156... Connected to www.water.gov.il. Escape character is '^]'. GET /hebrew/pages/kineret.xml HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Host: www.water.gov.il User-Agent: libwww-perl/6.15
thanks for the update. closing.