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 Lukasa
Recipients Lukasa
Date 2015-11-19.18:17:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447957027.04.0.0951767236546.issue25672@psf.upfronthosting.co.za>
In-reply-to
Content
Originally raised by Ben Bangert on the python-dev mailing list.

It turns out that OpenSSL has a mode setting, SSL_MODE_RELEASE_BUFFERS, that can be set by a call to SSK_CTX_set_mode. This mode can potentially reduce connection overhead by nearly 18kB *per connection*, a reduction of something like 60%. Further, this does not change the behaviour of OpenSSL in any meaningful way.

For this reason, we should unconditionally set this mode on all SSL Context objects we create.

I'm happy to submit a patch to the standard library that will do this.
History
Date User Action Args
2015-11-19 18:17:07Lukasasetrecipients: + Lukasa
2015-11-19 18:17:07Lukasasetmessageid: <1447957027.04.0.0951767236546.issue25672@psf.upfronthosting.co.za>
2015-11-19 18:17:07Lukasalinkissue25672 messages
2015-11-19 18:17:06Lukasacreate