Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 1:08 AM, Robert Haas robertmh...@gmail.com wrote: On Sat, Jul 12, 2014 at 8:49 AM, Magnus Hagander mag...@hagander.net wrote: It's today really hard to figure out if your SSL connection is actually *using* SSL compression. This got extra hard when we the default value

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: As far as my research shows, the function SSL_get_current_compression() which it uses was added in OpenSSL 0.9.6, which is a long time ago (stopped being maintained in 2004). AFAICT even RHEL *3* shipped with 0.9.7. So I think we can safely rely on

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 4:28 PM, Tom Lane t...@sss.pgh.pa.us wrote: Magnus Hagander mag...@hagander.net writes: As far as my research shows, the function SSL_get_current_compression() which it uses was added in OpenSSL 0.9.6, which is a long time ago (stopped being maintained in 2004). AFAICT

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: Out of curiosity, since one of those boxes seems to be yours, which version of OpenSSL does it actually have? Claims to be 0.9.7: cube:~ tgl$ ls -l /usr/lib/*ssl* -rwxr-xr-x 1 root wheel 266940 Nov 7 2010 /usr/lib/libssl.0.9.7.dylib* -rwxr-xr-x

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 4:41 PM, Tom Lane t...@sss.pgh.pa.us wrote: Magnus Hagander mag...@hagander.net writes: Out of curiosity, since one of those boxes seems to be yours, which version of OpenSSL does it actually have? Claims to be 0.9.7: cube:~ tgl$ ls -l /usr/lib/*ssl* -rwxr-xr-x 1

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: Being a completely newbie when it comes to writing configure checks - does this seem correct? Looks reasonable to me. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes

Re: [HACKERS] SSL compression info in psql header

2014-07-15 Thread Magnus Hagander
On Tue, Jul 15, 2014 at 6:03 PM, Tom Lane t...@sss.pgh.pa.us wrote: Magnus Hagander mag...@hagander.net writes: Being a completely newbie when it comes to writing configure checks - does this seem correct? Looks reasonable to me. Thanks, I've applied it - let's hope the buildfarm is happier

Re: [HACKERS] SSL compression info in psql header

2014-07-14 Thread Robert Haas
On Sat, Jul 12, 2014 at 8:49 AM, Magnus Hagander mag...@hagander.net wrote: It's today really hard to figure out if your SSL connection is actually *using* SSL compression. This got extra hard when we the default value started getting influenced by environment variables at least on many

[HACKERS] SSL compression info in psql header

2014-07-12 Thread Magnus Hagander
It's today really hard to figure out if your SSL connection is actually *using* SSL compression. This got extra hard when we the default value started getting influenced by environment variables at least on many platforms after the crime attacks. ISTM we should be making this easier for the user.