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 pitrou, spiv
Date 2010-09-01.12:38:44
SpamBayes Score 2.3262015e-07
Marked as misclassified No
Message-id <1283344726.61.0.98257790745.issue9729@psf.upfronthosting.co.za>
In-reply-to
Content
Note that 3.x will give you the expected error message:
>>> s = socket.socket()
>>> wrapped = ssl.wrap_socket(s)
>>> wrapped.recv(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/antoine/py3k/__svn__/Lib/ssl.py", line 292, in recv
    return socket.recv(self, buflen, flags)
socket.error: [Errno 107] Transport endpoint is not connected

Do you have any idea how to solve it for 2.7? Do you want to provide a patch?
History
Date User Action Args
2010-09-01 12:38:46pitrousetrecipients: + pitrou, spiv
2010-09-01 12:38:46pitrousetmessageid: <1283344726.61.0.98257790745.issue9729@psf.upfronthosting.co.za>
2010-09-01 12:38:45pitroulinkissue9729 messages
2010-09-01 12:38:44pitroucreate