Re: Unnecessary connection overhead due copy-on-write (mainly openssl)
Jacob Champion <jacob.champion@enterprisedb.com>
From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers@postgresql.org
Date: 2025-06-06T18:58:46Z
Lists: pgsql-hackers
On Fri, Jun 6, 2025 at 9:37 AM Andres Freund <andres@anarazel.de> wrote: > It's not just crashes, e.g. the startup packet timeout is also handled by > _exit() - and it can be triggered remotely. Fair point... > ISTM that if crypto providers > can't handle _exit(), we have a bigger problem. ...so I guess I need to figure out whether we have a bigger problem. I hope we don't. Note that OpenSSL seems to be interested in removing the atexit() handling altogether, and requiring applications to manually call the cleanup function, in 4.0. [1] --Jacob [1] https://github.com/openssl/openssl/issues/22508