]> granicus.if.org Git - postgresql/commit
Set libpq sslcompression to off by default
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 17 Mar 2018 12:56:50 +0000 (08:56 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 17 Mar 2018 13:17:33 +0000 (09:17 -0400)
commite3bdb2d92600ed45bd46aaf48309a436a9628218
treeaad06fef22e4e4c08268fd32ff840dcdf350df25
parent8a3d9425290ff5f6434990349886afae9e1c6008
Set libpq sslcompression to off by default

Since SSL compression is no longer recommended, turn the default in
libpq from on to off.

OpenSSL 1.1.0 and many distribution packages already turn compression
off by default, so such a server won't accept compression anyway.  So
this will mainly affect users of older OpenSSL installations.

Also update the documentation to make clear that this setting is no
longer recommended.

Discussion: https://www.postgresql.org/message-id/flat/595cf3b1-4ffe-7f05-6f72-f72b7afa7993%402ndquadrant.com
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-secure-openssl.c