diff options
author | Roman Arutyunyan <arut@nginx.com> | 2023-02-27 14:00:56 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2023-02-27 14:00:56 +0400 |
commit | 815ef96124176baef4e940c4beaec158305b368a (patch) | |
tree | ef62d1240eae60059e678eb5801caeffa8f14bba /src/http/v3/ngx_http_v3_uni.c | |
parent | a36ebf7e95baebf445b0973bd270bc009b0b0e9a (diff) | |
download | nginx-815ef96124176baef4e940c4beaec158305b368a.tar.gz nginx-815ef96124176baef4e940c4beaec158305b368a.zip |
HTTP/3: "quic" parameter of "listen" directive.
Now "listen" directve has a new "quic" parameter which enables QUIC protocol
for the address. Further, to enable HTTP/3, a new directive "http3" is
introduced. The hq-interop protocol is enabled by "http3_hq" as before.
Now application protocol is chosen by ALPN.
Previously used "http3" parameter of "listen" is deprecated.
Diffstat (limited to 'src/http/v3/ngx_http_v3_uni.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_uni.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/http/v3/ngx_http_v3_uni.c b/src/http/v3/ngx_http_v3_uni.c index d0e392de4..f00caaad8 100644 --- a/src/http/v3/ngx_http_v3_uni.c +++ b/src/http/v3/ngx_http_v3_uni.c @@ -37,12 +37,9 @@ void ngx_http_v3_init_uni_stream(ngx_connection_t *c) { uint64_t n; -#if (NGX_HTTP_V3_HQ) ngx_http_v3_session_t *h3c; -#endif ngx_http_v3_uni_stream_t *us; -#if (NGX_HTTP_V3_HQ) h3c = ngx_http_v3_get_session(c); if (h3c->hq) { ngx_http_v3_finalize_connection(c, @@ -52,7 +49,6 @@ ngx_http_v3_init_uni_stream(ngx_connection_t *c) ngx_http_v3_close_uni_stream(c); return; } -#endif ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 init uni stream"); |