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 flox
Recipients Arfrever, flox, giampaolo.rodola, janssen, pitrou, vstinner
Date 2010-03-25.00:28:43
SpamBayes Score 1.6669394e-05
Marked as misclassified No
Message-id <1269476926.71.0.777361424578.issue8108@psf.upfronthosting.co.za>
In-reply-to
Content
This patch solves the problem with 0.9.8m on my Debian workstation.

Actually there's 4 kind of errors on shutdown():
 - SSL_ERROR_WANT_READ
 - SSL_ERROR_WANT_WRITE
 - socket.error: errno.PIPE (32)
 - socket.error: 0

Since the command is "shutdown()", the patch silence all the socket errors, because they are probably due to the remote side closing the connection abruptly.
See the details on the Darryl's analysis:
http://bugs.python.org/issue8108#msg100980

This patch is very closed to Darryl's proposal.
History
Date User Action Args
2010-03-25 00:28:46floxsetrecipients: + flox, janssen, pitrou, vstinner, giampaolo.rodola, Arfrever
2010-03-25 00:28:46floxsetmessageid: <1269476926.71.0.777361424578.issue8108@psf.upfronthosting.co.za>
2010-03-25 00:28:44floxlinkissue8108 messages
2010-03-25 00:28:43floxcreate