diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 32a26379c..12a8cd144 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -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); }