Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3.h @ 7948:c8cabb5d45f5 quic
HTTP/3: introduced ngx_http_v3_get_module_srv_conf() macro.
The macro helps to access a module's server configuration from a QUIC
stream context.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 26 Jun 2020 11:58:00 +0300 |
parents | 66feab03d9b7 |
children | 032cb35ce758 |
comparison
equal
deleted
inserted
replaced
7947:a6675a976560 | 7948:c8cabb5d45f5 |
---|---|
59 ngx_array_t *dynamic; | 59 ngx_array_t *dynamic; |
60 ngx_connection_t *known_streams[NGX_HTTP_V3_MAX_KNOWN_STREAM]; | 60 ngx_connection_t *known_streams[NGX_HTTP_V3_MAX_KNOWN_STREAM]; |
61 } ngx_http_v3_connection_t; | 61 } ngx_http_v3_connection_t; |
62 | 62 |
63 | 63 |
64 #define ngx_http_v3_get_module_srv_conf(c, module) \ | |
65 ngx_http_get_module_srv_conf( \ | |
66 ((ngx_http_v3_connection_t *) c->qs->parent->data)->hc.conf_ctx, \ | |
67 module) | |
68 | |
69 | |
64 typedef struct { | 70 typedef struct { |
65 ngx_str_t name; | 71 ngx_str_t name; |
66 ngx_str_t value; | 72 ngx_str_t value; |
67 } ngx_http_v3_header_t; | 73 } ngx_http_v3_header_t; |
68 | 74 |