aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_quic_module.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-07-21 23:08:39 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-07-21 23:08:39 +0300
commit36f2873f6b0d8512c053935614fcc6ae9d969858 (patch)
tree5d50f945509b360aeeca15487cb9d28f6a9b09e1 /src/http/modules/ngx_http_quic_module.c
parentb813b9ec358862a2a94868bc057420d6eca5c05d (diff)
downloadnginx-36f2873f6b0d8512c053935614fcc6ae9d969858.tar.gz
nginx-36f2873f6b0d8512c053935614fcc6ae9d969858.zip
QUIC: added "quic" listen parameter in Stream.
Also, introduced ngx_stream_quic_module.
Diffstat (limited to 'src/http/modules/ngx_http_quic_module.c')
-rw-r--r--src/http/modules/ngx_http_quic_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_quic_module.c b/src/http/modules/ngx_http_quic_module.c
index d971c8d26..9888e2eae 100644
--- a/src/http/modules/ngx_http_quic_module.c
+++ b/src/http/modules/ngx_http_quic_module.c
@@ -241,6 +241,7 @@ ngx_http_quic_create_srv_conf(ngx_conf_t *cf)
conf->tp.active_connection_id_limit = NGX_CONF_UNSET_UINT;
conf->retry = NGX_CONF_UNSET;
+ conf->require_alpn = 1;
return conf;
}