Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on" - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Date
Msg-id 200702140430.l1E4U0b14854@momjian.us
Whole thread Raw
In response to Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Next
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"