Re: libpq SSL with non-blocking sockets
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Martin Pihlak <martin.pihlak@gmail.com>
Cc: Steve Singer <ssinger_pg@sympatico.ca>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-07-09T03:33:54Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Improve libpq's error reporting for SSL failures.
- fee476da952a 9.2.0 cited
-
Use OpenSSL's SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
- d0c23026b249 9.2.0 cited
On Fri, Jul 8, 2011 at 9:36 AM, Martin Pihlak <martin.pihlak@gmail.com> wrote: > On 07/03/2011 05:08 AM, Steve Singer wrote: >> Since the original patch was submitted as a WIP patch and this version >> wasn't sent until well into the commit fest I am not sure if it >> qualifies for a committer during this commitfest or if it needs to wait >> until the next one. > > 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 would not be inclined to back-patch this straight away. I agree it's an important fix, but I am a little worried about the chances of breaking something else... then again, I don't have the only vote here. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company