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 lemburg
Recipients EWDurbin, alex, benjamin.peterson, georg.brandl, jmadden, koobs, larry, lemburg, martin.panter, python-dev, skrah, vincent-legoll, yan12125
Date 2016-01-12.09:20:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452590437.85.0.651203824892.issue25940@psf.upfronthosting.co.za>
In-reply-to
Content
The patch looks good. I only have one question:

Why are you removing this part ? ...

@@ -1684,13 +1688,8 @@
             try:
                 ret = func(*args)
             except ssl.SSLError as e:
-                # Note that we get a spurious -1/SSL_ERROR_SYSCALL for
-                # non-blocking IO. The SSL_shutdown manpage hints at this.
-                # It *should* be safe to just ignore SYS_ERROR_SYSCALL because
-                # with a Memory BIO there's no syscalls (for IO at least).
                 if e.errno not in (ssl.SSL_ERROR_WANT_READ,
-                                   ssl.SSL_ERROR_WANT_WRITE,
-                                   ssl.SSL_ERROR_SYSCALL):
+                                   ssl.SSL_ERROR_WANT_WRITE):
                     raise
                 errno = e.errno
             # Get any data from the outgoing BIO irrespective of any error, and
History
Date User Action Args
2016-01-12 09:20:37lemburgsetrecipients: + lemburg, georg.brandl, larry, benjamin.peterson, alex, skrah, python-dev, martin.panter, koobs, jmadden, yan12125, vincent-legoll, EWDurbin
2016-01-12 09:20:37lemburgsetmessageid: <1452590437.85.0.651203824892.issue25940@psf.upfronthosting.co.za>
2016-01-12 09:20:37lemburglinkissue25940 messages
2016-01-12 09:20:37lemburgcreate