summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
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 /auto/modules
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 'auto/modules')
-rw-r--r--auto/modules20
1 files changed, 16 insertions, 4 deletions
diff --git a/auto/modules b/auto/modules
index 67339e7fa..2bcc06e62 100644
--- a/auto/modules
+++ b/auto/modules
@@ -404,12 +404,9 @@ if [ $HTTP = YES ]; then
ngx_module_type=HTTP
if [ $HTTP_V3 = YES ]; then
- USE_OPENSSL=YES
- USE_OPENSSL_QUIC=YES
have=NGX_HTTP_V3 . auto/have
have=NGX_HTTP_HEADERS . auto/have
-
- HTTP_SSL=YES
+ HTTP_QUIC=YES
# XXX for Huffman
HTTP_V2=YES
@@ -696,6 +693,21 @@ if [ $HTTP = YES ]; then
. auto/module
fi
+ if [ $HTTP_QUIC = YES ]; then
+ USE_OPENSSL_QUIC=YES
+ have=NGX_HTTP_QUIC . auto/have
+ HTTP_SSL=YES
+
+ ngx_module_name=ngx_http_quic_module
+ ngx_module_incs=
+ ngx_module_deps=src/http/modules/ngx_http_quic_module.h
+ ngx_module_srcs=src/http/modules/ngx_http_quic_module.c
+ ngx_module_libs=
+ ngx_module_link=$HTTP_QUIC
+
+ . auto/module
+ fi
+
if [ $HTTP_SSL = YES ]; then
USE_OPENSSL=YES
have=NGX_HTTP_SSL . auto/have