public inbox for [email protected]
help / color / mirror / Atom feedFrom: 井上博史 <[email protected]>
To: [email protected]
Cc: [email protected] <[email protected]>
Subject: Re: SSL connection check
Date: Thu, 18 Feb 2021 12:27:26 +0900
Message-ID: <CAFGcedUzsQ3kzLKJn6dSQkMwgHQtCDODC5Sh2L-RB+YJcc39kA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hi Daniel,
I would take care of the patch.
Thanks.
Hiroshi Inoue
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&a...;
ウイルス
フリー。 www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&a...;
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
2021年2月17日(水) 19:38 Daniel Gustafsson <[email protected]>:
> PgDtc_is_recovery_available use PQgetssl() to check if SSL was used for the
> connection. PQgetssl() is discouraged since it is hardcoded to the OpenSSL
> implementation and may fail to identify an SSL connection in case another
> TLS
> backend is added to postgres (a few alternatives have already been
> discussed on
> -hackers).
>
> The attached changes to use PQsslInUse() to perform the check, and removes
> a
> comment which seemed out of place with this (unless I totally misunderstood
> it). PQsslInUse has been available since 9.5, to cope with older libpq
> versions, an autoconf check is added for falling back on PQgetssl in 9.4
> through to 9.2.
>
> --
> Daniel Gustafsson https://vmware.com/
>
>
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: SSL connection check
In-Reply-To: <CAFGcedUzsQ3kzLKJn6dSQkMwgHQtCDODC5Sh2L-RB+YJcc39kA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox