]> git.kaiwu.me - nginx.git/commit
HTTP/3: reference h3c directly from ngx_http_connection_t.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 5 May 2021 11:53:36 +0000 (14:53 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 5 May 2021 11:53:36 +0000 (14:53 +0300)
commit38773a3c1130d34715f1cce24527a10258447354
tree21ab82b33f79ae8a9a316eb62c7b8df418ec1877
parent82f8734935ef28fbda4450fd88410b7d1f359c62
HTTP/3: reference h3c directly from ngx_http_connection_t.

Previously, an ngx_http_v3_connection_t object was created for HTTP/3 and
then assinged to c->data instead of the generic ngx_http_connection_t object.
Now a direct reference is added to ngx_http_connection_t, which is less
confusing and does not require a flag for http3.
src/http/modules/ngx_http_quic_module.c
src/http/modules/ngx_http_quic_module.h
src/http/ngx_http.h
src/http/ngx_http_request.h
src/http/v3/ngx_http_v3.h
src/http/v3/ngx_http_v3_streams.c
src/http/v3/ngx_http_v3_tables.c