diff src/core/ngx_connection.h @ 8481:0d2b2664b41c quic

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
author Roman Arutyunyan <arut@nginx.com>
date Tue, 21 Jul 2020 23:09:22 +0300
parents db8fe75c9c7a
children feec2cc762f6
line wrap: on
line diff
--- 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