aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2023-05-19 21:46:36 +0400
committerRoman Arutyunyan <arut@nginx.com>2023-05-19 21:46:36 +0400
commit4b0266174814e6cf60a275321121dbaab084ee64 (patch)
tree1c47a0b456cb1bb6d6dd08aa2d94342d738b56c6 /src/http/ngx_http_core_module.h
parent1a8ef991d92d22eb8aded7f49595dd31a639e8a4 (diff)
parent94941bd840ce7b011a36f7fe33f3fc7f4c600688 (diff)
downloadnginx-4b0266174814e6cf60a275321121dbaab084ee64.tar.gz
nginx-4b0266174814e6cf60a275321121dbaab084ee64.zip
Merged with the quic branch.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index e41bc68d5..765e7ff60 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -75,6 +75,7 @@ typedef struct {
unsigned wildcard:1;
unsigned ssl:1;
unsigned http2:1;
+ unsigned quic:1;
#if (NGX_HAVE_INET6)
unsigned ipv6only:1;
#endif
@@ -86,6 +87,7 @@ typedef struct {
int backlog;
int rcvbuf;
int sndbuf;
+ int type;
#if (NGX_HAVE_SETFIB)
int setfib;
#endif
@@ -237,6 +239,7 @@ struct ngx_http_addr_conf_s {
unsigned ssl:1;
unsigned http2:1;
+ unsigned quic:1;
unsigned proxy_protocol:1;
};
@@ -266,6 +269,7 @@ typedef struct {
typedef struct {
ngx_int_t family;
+ ngx_int_t type;
in_port_t port;
ngx_array_t addrs; /* array of ngx_http_conf_addr_t */
} ngx_http_conf_port_t;