Re: pgsql: Set libpq sslcompression to off by default - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Set libpq sslcompression to off by default
Date
Msg-id 15980.1521519338@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Set libpq sslcompression to off by default  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: pgsql: Set libpq sslcompression to off by default
List pgsql-committers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 3/17/18 15:12, Daniel Gustafsson wrote:
>> On 17 Mar 2018, at 17:47, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Buildfarm reports that SSL_clear_options isn't available everywhere.

>> Per some reading of the documentation and various patchers it seems
>> SSL_clear_options() was introduced in 0.9.8m and SSL_OP_NO_COMPRESSION in
>> 1.0.0.

> It seems the failure is limited to an old NetBSD version.  They might
> have patched their libssl locally somehow.  Is it worth supporting this?

Dunno, but the other side of the coin is that the goals of this patch
don't seem like a sufficient reason to break backwards compatibility
with any platform.

>  We could add a configure test for SSL_clear_options().

Kind of annoying, but ...

            regards, tom lane


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Prevent query-lifespan memory leakage of SP-GiST traversalvalue
Next
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Set libpq sslcompression to off by default