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
This commit is contained in:
Roman Arutyunyan committed 2020-07-21 23:09:22 +03:00
1 parent a305de07e9
commit b813b9ec35
20 files changed
+598 -398

No files matched your search

+16 -4
View File
@@ -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