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

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

It seems moderately improbable that by the time control arrives here,
errno still has anything to do with the last operation on the SSL
socket.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Next
From: Bruce Momjian
Date:
Subject: Re: Avg performance for int8/numeric