From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Carla Iriberri <ciriberri@salesforce.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: could not accept SSL connection: Success
Date: Wed, 19 Jan 2022 19:58:43 -0500
Message-ID: <785015.1642640323@sss.pgh.pa.us> (raw)
In-Reply-To: <YeitoS9IMBAiXzG1@paquier.xyz>
References: <CAPiM8Ai_cuKdF4YVOnCdwHrPWGCUQwiRO_gBU6OAWSUrGhNjeg@mail.gmail.com>
<YeeWmHJnI2dtzPrp@paquier.xyz>
<CAPiM8AiLWRsUy7W2EuR3niX+QhiVFCFf4SZv1DJjp5_UDgz4ng@mail.gmail.com>
<CA+hUKGLdXHZOss7f2zgF+a9U2CakyYVgPQuOY48wZVSVyUK15Q@mail.gmail.com>
<YeitoS9IMBAiXzG1@paquier.xyz>
Michael Paquier <michael@paquier.xyz> writes:
> I don't think that it makes much sense to leave this unchecked as the
> message is confusing as it stands. Perhaps we could do something like
> the attached by adding a note about OpenSSL 3.0 to revisit this code
> once we unplug support for 1.1.1 and avoiding the errno==0 case?
If I'm reading this patch correctly, you have it calling the case
"EOF detected" in one place, "internal failure" in another, and
failing to touch several more places where we deal with
SSL_ERROR_SYSCALL. I don't find that to be an improvement ---
inconsistency is worse than a confusing error message.
Personally I'm satisfied to leave it as-is, since this issue apparently
occurs only in a minority of OpenSSL versions, and not the newest.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, thomas.munro@gmail.com, ciriberri@salesforce.com
Subject: Re: could not accept SSL connection: Success
In-Reply-To: <785015.1642640323@sss.pgh.pa.us>
References: <CAPiM8Ai_cuKdF4YVOnCdwHrPWGCUQwiRO_gBU6OAWSUrGhNjeg@mail.gmail.com> <YeeWmHJnI2dtzPrp@paquier.xyz> <CAPiM8AiLWRsUy7W2EuR3niX+QhiVFCFf4SZv1DJjp5_UDgz4ng@mail.gmail.com> <CA+hUKGLdXHZOss7f2zgF+a9U2CakyYVgPQuOY48wZVSVyUK15Q@mail.gmail.com> <YeitoS9IMBAiXzG1@paquier.xyz> <785015.1642640323@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox