summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-07-21 23:09:22 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-07-21 23:09:22 +0300
commitb813b9ec358862a2a94868bc057420d6eca5c05d (patch)
tree57c250cf526c85f6d1a7889f65110daa9cb7e57b /src/core/ngx_connection.h
parenta305de07e934dd1ff21111d0314821a34880ab13 (diff)
downloadnginx-b813b9ec358862a2a94868bc057420d6eca5c05d.tar.gz
nginx-b813b9ec358862a2a94868bc057420d6eca5c05d.tar.bz2
QUIC: added "quic" listen parameter.
The parameter allows processing HTTP/0.9-2 over QUIC. Also, introduced ngx_http_quic_module and moved QUIC settings there
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 294d4b212..2ce0f153b 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -150,9 +150,12 @@ struct ngx_connection_s {
ngx_proxy_protocol_t *proxy_protocol;
-#if (NGX_SSL || NGX_COMPAT)
+#if (NGX_QUIC || NGX_COMPAT)
ngx_quic_connection_t *quic;
ngx_quic_stream_t *qs;
+#endif
+
+#if (NGX_SSL || NGX_COMPAT)
ngx_ssl_connection_t *ssl;
#endif