Re: Fix for OpenSSL error queue bug

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fix for OpenSSL error queue bug
Дата
Msg-id 5707080F.2030705@gmx.net
обсуждение исходный текст
Ответ на Re: Fix for OpenSSL error queue bug  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Fix for OpenSSL error queue bug  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 04/07/2016 03:47 AM, Michael Paquier wrote:
> I have looked at this patch. Do we need to worry as well about
> SSL_shutdown in disconnection code path? I believe that we don't care
> much if an error happens at this point but we surely should consume
> any error generated because the SSL context is kept after
> destroy_ssl_system and another connection attempt may be done using
> the same SSL context, no?

But we are the only user of our SSL context, and we clear the error 
before every call we make (with this patch).  The clean up afterwards is 
only if someone else is also using SSL in the same process, and they 
won't use our SSL context.



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: VS 2015 support in src/tools/msvc
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Fix for OpenSSL error queue bug