aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-01-26 14:15:40 +0300
committerSergey Kandaurov <pluknet@nginx.com>2022-01-26 14:15:40 +0300
commitc242f9f88e17ec04ae90142373e43b5f8f0d17f9 (patch)
tree6f78ddc50b844a2691a02d9826063541fcf960e2 /src
parent846a386c7ebc78424ed14993e28d30d26bd26318 (diff)
downloadnginx-c242f9f88e17ec04ae90142373e43b5f8f0d17f9.tar.gz
nginx-c242f9f88e17ec04ae90142373e43b5f8f0d17f9.zip
QUIC: set to standard TLS codepoint after draft versions removal.
This is to ease transition with oldish BoringSSL versions, the default for SSL_set_quic_use_legacy_codepoint() has been flipped in BoringSSL a1d3bfb64fd7ef2cb178b5b515522ffd75d7b8c5.
Diffstat (limited to 'src')
-rw-r--r--src/event/quic/ngx_event_quic_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c
index 41806b252..9220f9870 100644
--- a/src/event/quic/ngx_event_quic_ssl.c
+++ b/src/event/quic/ngx_event_quic_ssl.c
@@ -567,7 +567,7 @@ ngx_quic_init_connection(ngx_connection_t *c)
#endif
#if BORINGSSL_API_VERSION >= 13
- SSL_set_quic_use_legacy_codepoint(ssl_conn, qc->version != 1);
+ SSL_set_quic_use_legacy_codepoint(ssl_conn, 0);
#endif
qsock = ngx_quic_get_socket(c);