Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 9047: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 | 7b83da3bdf9f |
children | 0af598651e33 |
comparison
equal
deleted
inserted
replaced
9046:7da4791e0264 | 9047:c851a2ed5ce8 |
---|---|
323 rev->handler = ngx_http_v2_init; | 323 rev->handler = ngx_http_v2_init; |
324 } | 324 } |
325 #endif | 325 #endif |
326 | 326 |
327 #if (NGX_HTTP_V3) | 327 #if (NGX_HTTP_V3) |
328 if (hc->addr_conf->http3) { | 328 if (hc->addr_conf->quic) { |
329 ngx_http_v3_init_stream(c); | 329 ngx_http_v3_init_stream(c); |
330 return; | 330 return; |
331 } | 331 } |
332 #endif | 332 #endif |
333 | 333 |