Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Дата
Msg-id 200702140430.l1E4U0b14854@momjian.us
обсуждение исходный текст
Ответ на Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > !         if (SOCK_ERRNO != ECONNRESET)
> > !             SSL_shutdown(conn->ssl);
>
> Ummm ... what is this supposed to fix exactly, and what are the odds

I think the user was getting SIGPIPE on SSL_shutdown() of a closed
connection.

> that it will introduce resource leaks?

I don't know myself.  If some SSL expert says it is OK, we apply it, if
not, we ignore the patch.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"