mirror of
https://github.com/nginx/nginx.git
synced 2026-08-31 09:06:25 +00:00
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.
This commit is contained in:
parent
690e1bc50c
commit
b7662c0e80
1 changed files with 6 additions and 0 deletions
|
|
@ -61,6 +61,12 @@ typedef struct {
|
|||
} ngx_http_v3_connection_t;
|
||||
|
||||
|
||||
#define ngx_http_v3_get_module_srv_conf(c, module) \
|
||||
ngx_http_get_module_srv_conf( \
|
||||
((ngx_http_v3_connection_t *) c->qs->parent->data)->hc.conf_ctx, \
|
||||
module)
|
||||
|
||||
|
||||
typedef struct {
|
||||
ngx_str_t name;
|
||||
ngx_str_t value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue