aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-12-07 15:49:51 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-12-07 15:49:51 +0300
commita42a62fc583ad311d06a90e3bcd12d63df0701a4 (patch)
treeb913d59f2ef70010cd9ebf070ea832a4574247fd /src/os/unix
parent9860a82b195afb9c8d7a98536c752927b677736b (diff)
downloadnginx-a42a62fc583ad311d06a90e3bcd12d63df0701a4.tar.gz
nginx-a42a62fc583ad311d06a90e3bcd12d63df0701a4.zip
QUIC: clear SSL_OP_ENABLE_MIDDLEBOX_COMPAT on SSL context switch.
The SSL_OP_ENABLE_MIDDLEBOX_COMPAT option is provided by QuicTLS and enabled by default in the newly created SSL contexts. SSL_set_quic_method() is used to clear it, which is required for SSL handshake to work on QUIC connections. Switching context in the ngx_http_ssl_servername() SNI callback overrides SSL options from the new SSL context. This results in the option set again. Fix is to explicitly clear it when switching to another SSL context. Initially reported here (in Russian): http://mailman.nginx.org/pipermail/nginx-ru/2021-November/063989.html
Diffstat (limited to 'src/os/unix')
0 files changed, 0 insertions, 0 deletions