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 ronaldoussoren
Recipients amacd31, christian.heimes, methane, ronaldoussoren
Date 2021-01-08.09:52:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The API documentation already implies that write might not write the entire buffer because it returns the number of bytes actually written (just like os.write).  

A possible workaround on the SSL layer is hence to clamp the amount of bytes to write to MAX_INT (or later MAX_SSIZE_T) bytes. 

That said, this does require checking that users of the SSL layer write method in the stdib actually check for the number of bytes written, otherwise we'd exchange the exception to a silent error.
Date User Action Args
2021-01-08 09:52:17ronaldoussorensetrecipients: + ronaldoussoren, christian.heimes, methane, amacd31
2021-01-08 09:52:17ronaldoussorensetmessageid: <>
2021-01-08 09:52:17ronaldoussorenlinkissue42853 messages
2021-01-08 09:52:16ronaldoussorencreate