]> git.kaiwu.me - nginx.git/commitdiff
QUIC: fixed e06283038ec8 mis-merge.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 9 Dec 2021 08:15:25 +0000 (11:15 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 9 Dec 2021 08:15:25 +0000 (11:15 +0300)
The NGX_HTTP_QUIC macro was removed in 33226ac61076.

src/http/ngx_http_request.c

index 32a26379cec9caea355d2eec91f5c1eb44299155..12a8cd1441751975eb3d500ad6da7ff02ef70f42 100644 (file)
@@ -956,7 +956,7 @@ ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg)
 #endif
 
 #ifdef SSL_OP_ENABLE_MIDDLEBOX_COMPAT
-#if (NGX_HTTP_QUIC)
+#if (NGX_HTTP_V3)
         if (c->listening->quic) {
             SSL_clear_options(ssl_conn, SSL_OP_ENABLE_MIDDLEBOX_COMPAT);
         }