This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients kiilerix, pitrou
Date 2012-01-07.00:26:52
SpamBayes Score 0.0002650377
Marked as misclassified No
Message-id <1325895934.3341.16.camel@localhost.localdomain>
In-reply-to <1325888075.0.0.00318737341897.issue13721@psf.upfronthosting.co.za>
Content
> I hope the proper fix will ensure that an exception always is raised
> if the ssl handshake fails - and that a successful wrap_socket means
> that the ssl negotiation did succeed with the given constraints. It
> might however only be feasible to fix that for 3.x.

Actually, the handshake is not even attempted because getpeername()
returns ENOTCONN, which is interpreted as meaning "the socket hasn't
been connected yet". Any idea how to improve that?

(I find it strange that ENOTCONN is returned rather than say ECONNRESET)
History
Date User Action Args
2012-01-07 00:26:53pitrousetrecipients: + pitrou, kiilerix
2012-01-07 00:26:52pitroulinkissue13721 messages
2012-01-07 00:26:52pitroucreate