Skip Menu |

This queue is for tickets about the Net-HTTP CPAN distribution.

Report information
The Basics
Id: 72580
Status: resolved
Priority: 0/
Queue: Net-HTTP

People
Owner: Nobody in particular
Requestors: Steffen_Ullrich [...] genua.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 6.00
  • 6.01
Fixed in: (no value)



Subject: Net::HTTPS overwrites sub blocking from IO::Socket::SSL, so that timeouts don't work
Hi, in Net::HTTPS you have the following code: # The underlying SSLeay classes fails to work if the socket is # placed in non-blocking mode. This override of the blocking # method makes sure it stays the way it was created. sub blocking { } # noop Due to this redefinition the timeout in IO::Socket::SSL will no longer work. Given that IO::Socket::SSL works fine with blocking(0) I think this redefinition is no longer valid, at least when using the new default of IO::Socket::SSL instead of Net::SSL. See https://rt.cpan.org/Ticket/Display.html?id=72509 where this problem was filed against IO::Socket::SSL. Regards, Steffen
I just removed it in commit 208a2e384a176237. We'll se if anybody complains. If this hack needs to be re-enabled I think it should be done where blocking is invoked.
Subject: Re: [rt.cpan.org #72580] Net::HTTPS overwrites sub blocking from IO::Socket::SSL, so that timeouts don't work
Date: Mon, 21 Nov 2011 21:06:01 +0100
To: Gisle_Aas via RT <bug-Net-HTTP [...] rt.cpan.org>
From: Steffen Ullrich <Steffen_Ullrich [...] genua.de>
Thanks for your fast response. Regards, Steffen On Mon, Nov 21, 2011 at 02:58:45PM -0500, Gisle_Aas via RT <bug-Net-HTTP@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72580 > > > I just removed it in commit 208a2e384a176237. We'll se if anybody complains. > > If this hack needs to be re-enabled I think it should be done where blocking is invoked.
-- GeNUA Gesellschaft für Netzwerk - und Unix-Administration mbH Domagkstr. 7, D-85551 Kirchheim. http://www.genua.de Tel: (089) 99 19 50-0, Fax: (089) 99 10 50 - 999 Geschäftsführer: Dr. Magnus Harlander, Dr. Michaela Harlander, Bernhard Schneck. Amtsgericht München HRB 98238
Net-HTTP-6.02 has been uploaded to CPAN.