Subject: | cannot download binary files via https |
Date: | Tue, 24 Dec 2013 23:50:16 +0400 |
To: | bug-libwww-perl [...] rt.cpan.org |
From: | Sly G <slyg [...] liza2005.ru> |
Hello.
With libwww versions above 6.0 and Strawberry Perl 5.14 and 5.18 on
Windows XP, any attempt to get jpg or any other image or binary file via
https result in partially downloaded file, and I get different number
of bytes of the same link every time I try it. But never the whole
file.
Problem solved by installing older verison of libwww, for example
5.837
Typical headers of this operation looks like this:
HTTP/1.1 200 OK
Date: Tue, 03 Dec 2013 20:32:14 GMT
Accept-Ranges: bytes
ETag: "031dd727cfce1:0"
Server: Microsoft-IIS/8.0
Content-Length: 149607
Content-Type: image/jpeg
Last-Modified: Tue, 22 Oct 2013 13:08:46 GMT
Client-Aborted: die
Client-Date: Tue, 03 Dec 2013 20:32:15 GMT
Client-Peer: 162.13.51.77:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=EssentialSSL CA
Client-SSL-Cert-Subject: /OU=Domain Control Validated/OU=Free SSL/CN=avoncontent6.com
Client-SSL-Cipher: RC4-SHA
Client-SSL-Socket-Class: IO::Socket::SSL
X-Died: read failed: Inappropriate I/O control operation at D:/perl/perl/vendor/lib/LWP/Protocol/http.pm line 414.
X-Powered-By: ASP.NET
--
Sly mailto:slyg@liza2005.ru