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