Mercurial > hg > nginx
comparison src/http/ngx_http.h @ 8769:9ec3e71f8a61 quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 05 May 2021 14:53:36 +0300 |
parents | 3057bae4dba7 |
children | 67f0eb150047 |
comparison
equal
deleted
inserted
replaced
8768:40d710a66aef | 8769:9ec3e71f8a61 |
---|---|
19 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; | 19 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; |
20 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; | 20 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; |
21 typedef struct ngx_http_chunked_s ngx_http_chunked_t; | 21 typedef struct ngx_http_chunked_s ngx_http_chunked_t; |
22 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t; | 22 typedef struct ngx_http_v2_stream_s ngx_http_v2_stream_t; |
23 typedef struct ngx_http_v3_parse_s ngx_http_v3_parse_t; | 23 typedef struct ngx_http_v3_parse_s ngx_http_v3_parse_t; |
24 typedef struct ngx_http_v3_connection_s | |
25 ngx_http_v3_connection_t; | |
24 | 26 |
25 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, | 27 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, |
26 ngx_table_elt_t *h, ngx_uint_t offset); | 28 ngx_table_elt_t *h, ngx_uint_t offset); |
27 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, | 29 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, |
28 ngx_http_request_t *sr, u_char *buf, size_t len); | 30 ngx_http_request_t *sr, u_char *buf, size_t len); |