[Python-Dev] OP_NO_COMPRESSION

Donald Stufft donald at stufft.io
Sun Mar 23 16:52:37 CET 2014


On Mar 23, 2014, at 11:46 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Sun, 23 Mar 2014 11:37:25 -0400
> Donald Stufft <donald at stufft.io> wrote:
>> 
>> I already did open an issue and write a patch :)
>> 
>> There’s someone on that issue saying that flipping that without a way to flip it back
>> would break their application.
> 
> You're right, I had forgotten about that :-)
> 
> I'd be surprised if disabling compression could altogether break an
> application. It may make it less efficient, though, if it relied on TLS
> to compress data for it (which doesn't sound like a good thing to rely
> on, anyway).
> 
> Regards
> 
> Antoine.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/donald%40stufft.io

I tend to agree about that, but I was mostly echoing the fact that they’ve expressed
that sentiment. Without SSLContext I couldn’t think of a reasonable way to enable
them to turn it on/off that didn’t involve a whole new API just for some versions of 2.7.
This seemed to me like a wholly worse idea than back porting SSLContext :/

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140323/b801df81/attachment.sig>


More information about the Python-Dev mailing list