pgsql: If SSL negotiation fails and SSLMODE is 'prefer', then retry

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: If SSL negotiation fails and SSLMODE is 'prefer', then retry
Date: 2006-11-21 16:28:01
Message-ID: 20061121162801.2F2E89FBD69@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
If SSL negotiation fails and SSLMODE is 'prefer', then retry without SSL.
Negotiation failure is only likely to happen if one side or the other is
misconfigured, eg. bad client certificate. I'm not 100% convinced that
a retry is really the best thing, hence not back-patching this fix for now.
Per gripe from Sergio Cinos.

Modified Files:
--------------
pgsql/src/interfaces/libpq:
fe-connect.c (r1.338 -> r1.339)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.338&r2=1.339)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2006-11-21 16:59:02 pgsql: remove duplicate declaration, per report from Magnus Hagander.
Previous Message Bruce Momjian 2006-11-21 15:38:09 pgsql: Add capitalization mention.