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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: alexey(dot)zayats(at)gmail(dot)com, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Date: 2007-02-14 04:37:43
Message-ID: 17075.1171427863@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2007-02-14 04:45:21 Re: [PATCHES] Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Previous Message Bruce Momjian 2007-02-14 04:30:00 Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-02-14 04:37:49 Re: Avg performance for int8/numeric
Previous Message Bruce Momjian 2007-02-14 04:35:51 Re: Day and month name localization uses wrong locale category

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-02-14 04:37:49 Re: Avg performance for int8/numeric
Previous Message Bruce Momjian 2007-02-14 04:30:00 Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"