Message258086
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 |
|
Date |
User |
Action |
Args |
2016-01-12 09:20:37 | lemburg | set | recipients:
+ lemburg, georg.brandl, larry, benjamin.peterson, alex, skrah, python-dev, martin.panter, koobs, jmadden, yan12125, vincent-legoll, EWDurbin |
2016-01-12 09:20:37 | lemburg | set | messageid: <1452590437.85.0.651203824892.issue25940@psf.upfronthosting.co.za> |
2016-01-12 09:20:37 | lemburg | link | issue25940 messages |
2016-01-12 09:20:37 | lemburg | create | |
|