Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 9081:c851a2ed5ce8 quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 27 Feb 2023 14:00:56 +0400 |
parents | 8d0753760546 |
children | 0af598651e33 |
comparison
equal
deleted
inserted
replaced
9080:7da4791e0264 | 9081:c851a2ed5ce8 |
---|---|
74 unsigned bind:1; | 74 unsigned bind:1; |
75 unsigned wildcard:1; | 75 unsigned wildcard:1; |
76 unsigned ssl:1; | 76 unsigned ssl:1; |
77 unsigned http2:1; | 77 unsigned http2:1; |
78 unsigned http3:1; | 78 unsigned http3:1; |
79 unsigned quic:1; | |
79 #if (NGX_HAVE_INET6) | 80 #if (NGX_HAVE_INET6) |
80 unsigned ipv6only:1; | 81 unsigned ipv6only:1; |
81 #endif | 82 #endif |
82 unsigned deferred_accept:1; | 83 unsigned deferred_accept:1; |
83 unsigned reuseport:1; | 84 unsigned reuseport:1; |
238 ngx_http_virtual_names_t *virtual_names; | 239 ngx_http_virtual_names_t *virtual_names; |
239 | 240 |
240 unsigned ssl:1; | 241 unsigned ssl:1; |
241 unsigned http2:1; | 242 unsigned http2:1; |
242 unsigned http3:1; | 243 unsigned http3:1; |
244 unsigned quic:1; | |
243 unsigned proxy_protocol:1; | 245 unsigned proxy_protocol:1; |
244 }; | 246 }; |
245 | 247 |
246 | 248 |
247 typedef struct { | 249 typedef struct { |