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.

classification
Title: interrupts during long writes cause connection corruption with SSL module
Type: behavior Stage: needs patch
Components: Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: ssl.SSLSocket.write may fail on non-blocking sockets
View: 8240
Assigned To: janssen Nosy List: BreamoreBoy, janssen
Priority: high Keywords:

Created on 2009-07-28 00:32 by janssen, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg90999 - (view) Author: Bill Janssen (janssen) * (Python committer) Date: 2009-07-28 00:32
The behavior when a write or send is interrupted is suboptimal.  If the
write buffer moves before a retry is attempted in response to
SSL_ERROR_WANT_OUTPUT, OpenSSL rejects the retry attempt.  See

http://www.mail-archive.com/openssl-users@openssl.org/msg07806.html.

Looks like a simple fix.
msg109627 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-07-08 22:28
For a simple fix this has been sitting around a long time. :)
History
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50836
2010-07-08 22:48:03pitrousetstatus: open -> closed
resolution: duplicate
superseder: ssl.SSLSocket.write may fail on non-blocking sockets
2010-07-08 22:28:24BreamoreBoysetnosy: + BreamoreBoy

messages: + msg109627
versions: - Python 2.6, Python 3.0
2009-07-28 00:32:10janssencreate