Re: Disable OpenSSL compression

Albe Laurenz <laurenz.albe@wien.gv.at>

From: "Albe Laurenz" <laurenz.albe@wien.gv.at>
To: "Magnus Hagander *EXTERN*" <magnus@hagander.net>
Cc: "Christopher Browne *EXTERN*" <cbbrowne@gmail.com>, <ktm@rice.edu>, <pgsql-hackers@postgresql.org>
Date: 2011-11-10T08:42:25Z
Lists: pgsql-hackers
Magnus Hagander wrote:
>> Is the following proposal acceptable:
>>
>> - Add a GUC ssl_compression, defaulting to "on".
>> - Add a client option "sslcompression" and an environment variable
>>   PGSSLCOMPRESSION, defaulting to "1".
> 
> Seems like the reasonable thing, yes.
> 
>> Compression will be disabled if either side refuses.
> 
> I assume OpenSSL takes care of this for us, right? We just have to set
the flags on the connection?

Right.

Yours,
Laurenz Albe