Re: Unnecessary connection overhead due copy-on-write (mainly openssl)

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: Unnecessary connection overhead due copy-on-write (mainly openssl)
Дата
Msg-id CAOYmi+nki8O-tpD8tQUYw1YCxCXEmmt51QXj3e-bd3tr8ezKhg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unnecessary connection overhead due copy-on-write (mainly openssl)  (Andres Freund <andres@anarazel.de>)
Список 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



В списке pgsql-hackers по дате отправления: