Re: Serverside SNI support in libpq
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: Zsolt Parragi <zsolt.parragi@percona.com>,
Jelte Fennema-Nio <postgres@jeltef.nl>,
Heikki Linnakangas <hlinnaka@iki.fi>,
Dewei Dai <daidewei1970@163.com>,
"li.evan.chao" <li.evan.chao@gmail.com>,
Michael Paquier <michael@paquier.xyz>,
Andres Freund <andres@anarazel.de>,
Pgsql Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-18T17:13:34Z
Lists: pgsql-hackers
> On 18 Mar 2026, at 17:14, Jacob Champion <jacob.champion@enterprisedb.com> wrote: > > On Wed, Mar 18, 2026 at 7:25 AM Daniel Gustafsson <daniel@yesql.se> wrote: >> The longfin issue is a bit more odd, I can reproduce it on macOS with OpenSSL >> 1.1.1 but nowhere else. Rather than reporting an SSL error for aborted >> handshake it reports a SYSCALL error. > > Do you know yet why the handshake is aborted on macOS, as opposed to a > polite handshake_failure alert? As mentioned upthread it seems the error is likely the result of a bug in older versions of OpenSSL, using the latest from the 1.1.1 series makes it go away. I will go ahead with the EXEC_BACKEND fix in a bit to turn that animal green as well. > (I wouldn't mind a better error > message than "SYSCALL error: EOF detected", but that's not something > this patch did.) +1 -- Daniel Gustafsson
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Declare load_hosts() as returning HostsFileLoadResult.
- 93da29736649 19 (unreleased) landed
-
ssl: Skip passphrase reload tests in EXEC_BACKEND builds
- e87ab5049deb 19 (unreleased) landed
-
ssl: Serverside SNI support for libpq
- 4f433025f666 19 (unreleased) landed
-
ssl: Add tests for client CA
- 25e568ba7ce7 19 (unreleased) landed