Обсуждение: pgsql: If SSL negotiation fails and SSLMODE is 'prefer', then retry

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)