New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$! not set to ECONNRESET in IO::Socket if TCP connection is reset #13897
Comments
From jesper.j.persson@gmail.comsee http://www.mail-archive.com/libwww@perl.org/msg07072.html Best Regards Summary of my perl5 (revision 5 version 18 subversion 2) configuration: Platform: Characteristics of this binary (from libperl): |
From @jkeenanOn Mon Jun 02 09:03:36 2014, jesper.j.persson@gmail.com wrote:
Jesper, we'll have to quote that message directly if this bug report is going to get the attention you would like for it. The following is a code excerpt and then a response -- and implicit wishlist item -- from Steffen Ullrich. READ: The server makes a connection reset if you try to access https://www.butler.edu/boa/default.aspx. On unix this will set Thus $! will stay at EINTR from the previous error and it will loop forever. IO::Socket::SSL 1.992 (just released) works around this problem by resetting |
The RT System itself - Status changed from 'new' to 'open' |
From @LeontOn Mon, Jun 2, 2014 at 10:52 PM, James E Keenan via RT <
This sounds like a bug in IO::Socket::SSL to me, not a bug in IO::Socket. I Leon |
From sullr@cpan.orgOn 06/03/2014 02:49 AM, Leon Timmermans wrote:> On Mon, Jun 2, 2014 at 10:52 PM,
I doubt that it is a problem of IO::Socket. I can successfully get ECONNRESET if But once I add IO::Socket::SSL I get a problem, because Net::SSLeay::SSL_read But, $! is undef on Windows and ECONNRESET on Linux, so somewhere it fails to According to some old posts I've found (from 2008, and they talk about problems I can also reproduce the problem with Strawberry 5.18.1 installed on the same Another possibility is, that propagating a socket error must be done differently Steffen |
From @LeontOn Thu, Jun 5, 2014 at 10:15 PM, Steffen Ullrich <sullr@cpan.org> wrote:
IO::Socket::SSL is not a core module, so I think this ticket should be Leon |
From @andkLeon Timmermans <fawaka@gmail.com> writes:
Leon, please scroll up this thread to "The real fix would be" -- |
From @andkAndreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de> writes:
Oops, sorry, ignore me. Apparently you did. I'll get some coffeine... -- |
From @tonycozOn Thu Jun 05 17:43:55 2014, LeonT wrote:
I agree, this doesn't belong on rt.perl.org. Marking rejected. Tony |
@tonycoz - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#122018 (status was 'rejected')
Searchable as RT122018$
The text was updated successfully, but these errors were encountered: