Message102535
Here is a patch that implements SSLSocket.get_mode/set_mode, with the SSL_MODE_ENABLE_PARTIAL_WRITE and SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER constants defined in the ssl module.
The patch contains a test case and documentation. It's made against trunk 44327 and also applies nicely with --fuzz=3 on a 2.6.5.
There are no compatibility issues as no specific mode is set by default. It's up to the application to call SSLSocket.set_mode before use. I've tested my own use case with a set_mode(SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER), it works nicely. |
|
Date |
User |
Action |
Args |
2010-04-07 11:49:44 | cbay | set | recipients:
+ cbay, janssen, pitrou, vstinner, giampaolo.rodola, r.david.murray |
2010-04-07 11:49:44 | cbay | set | messageid: <1270640984.59.0.492457226876.issue8240@psf.upfronthosting.co.za> |
2010-04-07 11:49:42 | cbay | link | issue8240 messages |
2010-04-07 11:49:42 | cbay | create | |
|