Re: could not accept SSL connection: Success

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: could not accept SSL connection: Success
Дата
Msg-id 785015.1642640323@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: could not accept SSL connection: Success  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: could not accept SSL connection: Success
Список pgsql-general
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



В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: could not accept SSL connection: Success
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: could not accept SSL connection: Success