Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 104586
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: andrey.makhnutin [...] gmail.com
Cc:
AdminCc:

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



Subject: bug in Net::HTTP leads to 500 Status read error when fetching some HTTPS websites via LWP::UA
Hello! System is Windows7 SP1 x64 Bug is found in Strawberry perl 5.20.2.1 x64 portable When I switched from Strawberry perl 5.20.1.1 x32 portable to perl 5.20.2.1 x64 portable, one of my scripts stopped working, showing some silly error "500 Status read failed: A non-blocking socket operation could not be completed immediately" After some googling, the solution was found. It appeared, that Net::HTTP 6.07 is not very compatible with IO::Socket::SSL 2.012, or something of the sorts. The patch that fixes the problem can be found here: https://github.com/libwww-perl/net-http/commit/8311cd11544f59100d1f135e63007b8f3ded50d9 The issue is not easily reproduced, for example fetching https://google.com works perfectly on either version. But at the moment of writing this ticket, running this command in Strawberry perl 5.20.2.1 x64 portable shell raises an error: lwp-download https://www.e-activist.com/hello everyone lwp-download: 500 Status read failed: A non-blocking socket operation could not be completed immediately.
Subject: Re: [rt.cpan.org #104586] bug in Net::HTTP leads to 500 Status read error when fetching some HTTPS websites via LWP::UA
Date: Thu, 21 May 2015 09:10:59 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] cpan.org>
As you have put into the Subject: it is a bug in Net-HTTP. Thus try to upgrade to recently released Net-HTTP-6.09. Simply: c:\anydir> cpanm Net::HTTP The next strawberry perl release will come with the latest Net::HTTP
From: andrey.makhnutin [...] gmail.com
Чтв Май 21 03:11:22 2015, KMX писал: Show quoted text
> upgrade to recently released Net-HTTP-6.09.
Yes! It works! Thank you! I hope all other poor sods who come across this problem will successfully google down to this ticket until the new version of strawberry is out
strawberry perl 5.22.0.1 was released (with Net-HTTP-6.09)