diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2025-05-13 20:12:10 +0400 |
---|---|---|
committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-05-23 15:00:47 +0400 |
commit | 7468a10b62276be4adee0fcd6aaf6244270984ab (patch) | |
tree | 699777215ae4032b39c6d353e6d6ebef12d3304b /src/http/ngx_http_variables.c | |
parent | 47f96993f669543c6cb4979dd3f680ad01314ee5 (diff) | |
download | nginx-7468a10b62276be4adee0fcd6aaf6244270984ab.tar.gz nginx-7468a10b62276be4adee0fcd6aaf6244270984ab.zip |
QUIC: adjusted handling of callback errors.
Changed handshake callbacks to always return success. This allows to avoid
logging SSL_do_handshake() errors with empty or cryptic "internal error"
OpenSSL error messages at the inappropriate "crit" log level.
Further, connections with failed callbacks are closed now right away when
using OpenSSL compat layer. This change supersedes and reverts c37fdcdd1,
with the conditions to check callbacks invocation kept to slightly improve
code readability of control flow; they are optimized out in the resulting
assembly code.
Diffstat (limited to 'src/http/ngx_http_variables.c')
0 files changed, 0 insertions, 0 deletions