Re: libpq SSL with non-blocking sockets - Mailing list pgsql-hackers

From Tom Lane
Subject Re: libpq SSL with non-blocking sockets
Date
Msg-id 5219.1311539620@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpq SSL with non-blocking sockets  (Martin Pihlak <martin.pihlak@gmail.com>)
Responses Re: libpq SSL with non-blocking sockets
Re: libpq SSL with non-blocking sockets
List pgsql-hackers
Martin Pihlak <martin.pihlak@gmail.com> writes:
> If possible I would like the fix to be backported as well. This is
> quite a nasty bug and difficult to track down. Especially as the
> actual SSL error messages are masked by the "server closed the
> connection unexpectedly" message.

I've applied the simplified fix (just set SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER)
as well as a patch to improve the error reporting situation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: SSL-mode error reporting in libpq
Next
From: Bruce Momjian
Date:
Subject: Re: Problem with pg_upgrade's directory write check on Windows