]> granicus.if.org Git - pgbouncer/commitdiff
faq/ssl: pgsql protocol patch was applied to stunnel 4.27
authorMarko Kreen <markokr@gmail.com>
Fri, 26 Jun 2009 15:00:31 +0000 (15:00 +0000)
committerMarko Kreen <markokr@gmail.com>
Fri, 26 Jun 2009 15:00:31 +0000 (15:00 +0000)
doc/faq.txt

index 4dda4441e31dd109dc9833f14b506a318ff7ce72..6a0f236ce47544a73458859dc841549c00d33c90 100644 (file)
@@ -13,13 +13,15 @@ load-balancing is needed.
 
 == How to use SSL connections with PgBouncer? ==
 
-Use http://www.stunnel.org/[Stunnel].  Only problem is that
-Stunnel (as of v4.21) does not support PostgreSQL SSL handshake
-at the beginnning of connection.  Solution is to use either
-Stunnel on both sides of connection or to apply
-following patch to Stunnel -
+Use http://www.stunnel.org/[Stunnel].  Since version 4.27 it
+supports PostgreSQL protocol for both client and server side.
+It is activated by setting `protocol=pgsql`.
+
+For older 4.2x versions the support code is available as patch:
 http://pgbouncer.projects.postgresql.org/patches/stunnel-postgres.diff[stunnel-postgres.diff]
-- that adds PostgreSQL protocol support to it (specified as `protocol=pgsql`).
+
+Alternative is to use Stunnel on both sides of connection,
+then the protocol support is not needed.
 
 
 == How to use prepared statements with PgBouncer? ==