diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2020-07-21 23:08:39 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2020-07-21 23:08:39 +0300 |
| commit | 36f2873f6b0d8512c053935614fcc6ae9d969858 (patch) | |
| tree | 5d50f945509b360aeeca15487cb9d28f6a9b09e1 /auto | |
| parent | b813b9ec358862a2a94868bc057420d6eca5c05d (diff) | |
| download | nginx-36f2873f6b0d8512c053935614fcc6ae9d969858.tar.gz nginx-36f2873f6b0d8512c053935614fcc6ae9d969858.tar.bz2 | |
QUIC: added "quic" listen parameter in Stream.
Also, introduced ngx_stream_quic_module.
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/modules | 14 | ||||
| -rw-r--r-- | auto/options | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index 2bcc06e62..d213fb451 100644 --- a/auto/modules +++ b/auto/modules @@ -1065,6 +1065,20 @@ if [ $STREAM != NO ]; then ngx_module_incs= + if [ $STREAM_QUIC = YES ]; then + USE_OPENSSL_QUIC=YES + have=NGX_STREAM_QUIC . auto/have + STREAM_SSL=YES + + ngx_module_name=ngx_stream_quic_module + ngx_module_deps=src/stream/ngx_stream_quic_module.h + ngx_module_srcs=src/stream/ngx_stream_quic_module.c + ngx_module_libs= + ngx_module_link=$STREAM_QUIC + + . auto/module + fi + if [ $STREAM_SSL = YES ]; then USE_OPENSSL=YES have=NGX_STREAM_SSL . auto/have diff --git a/auto/options b/auto/options index a1ca80ce5..450fe729e 100644 --- a/auto/options +++ b/auto/options @@ -118,6 +118,7 @@ MAIL_SMTP=YES STREAM=NO STREAM_SSL=NO +STREAM_QUIC=NO STREAM_REALIP=NO STREAM_LIMIT_CONN=YES STREAM_ACCESS=YES @@ -315,6 +316,7 @@ use the \"--with-mail_ssl_module\" option instead" --with-stream) STREAM=YES ;; --with-stream=dynamic) STREAM=DYNAMIC ;; --with-stream_ssl_module) STREAM_SSL=YES ;; + --with-stream_quic_module) STREAM_QUIC=YES ;; --with-stream_realip_module) STREAM_REALIP=YES ;; --with-stream_geoip_module) STREAM_GEOIP=YES ;; --with-stream_geoip_module=dynamic) @@ -534,6 +536,7 @@ cat << END --with-stream enable TCP/UDP proxy module --with-stream=dynamic enable dynamic TCP/UDP proxy module --with-stream_ssl_module enable ngx_stream_ssl_module + --with-stream_quic_module enable ngx_stream_quic_module --with-stream_realip_module enable ngx_stream_realip_module --with-stream_geoip_module enable ngx_stream_geoip_module --with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module |
