summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2016-05-18 22:08:49 +0300
committerRoman Arutyunyan <arut@nginx.com>2016-05-18 22:08:49 +0300
commita7c6f8c1d7cb817bf84b639ee0933f9ffed05275 (patch)
treec440376b56426650d471a78768ef7212a10000e6 /auto
parent9721eae1f1110820e2ded7989cf487bd7405ead3 (diff)
downloadnginx-a7c6f8c1d7cb817bf84b639ee0933f9ffed05275.tar.gz
nginx-a7c6f8c1d7cb817bf84b639ee0933f9ffed05275.tar.bz2
Stream: return module.
Diffstat (limited to 'auto')
-rw-r--r--auto/modules8
-rw-r--r--auto/options3
2 files changed, 11 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 83e36e7d5..610851977 100644
--- a/auto/modules
+++ b/auto/modules
@@ -1028,6 +1028,14 @@ if [ $STREAM != NO ]; then
. auto/module
fi
+ if [ $STREAM_RETURN = YES ]; then
+ ngx_module_name=ngx_stream_return_module
+ ngx_module_deps=
+ ngx_module_srcs=src/stream/ngx_stream_return_module.c
+
+ . auto/module
+ fi
+
if [ $STREAM_UPSTREAM_HASH = YES ]; then
ngx_module_name=ngx_stream_upstream_hash_module
ngx_module_deps=
diff --git a/auto/options b/auto/options
index b556b52ed..69d612c99 100644
--- a/auto/options
+++ b/auto/options
@@ -118,6 +118,7 @@ STREAM_SSL=NO
STREAM_LIMIT_CONN=YES
STREAM_ACCESS=YES
STREAM_MAP=YES
+STREAM_RETURN=YES
STREAM_UPSTREAM_HASH=YES
STREAM_UPSTREAM_LEAST_CONN=YES
STREAM_UPSTREAM_ZONE=YES
@@ -296,6 +297,7 @@ use the \"--with-mail_ssl_module\" option instead"
STREAM_LIMIT_CONN=NO ;;
--without-stream_access_module) STREAM_ACCESS=NO ;;
--without-stream_map_module) STREAM_MAP=NO ;;
+ --without-stream_return_module) STREAM_RETURN=NO ;;
--without-stream_upstream_hash_module)
STREAM_UPSTREAM_HASH=NO ;;
--without-stream_upstream_least_conn_module)
@@ -495,6 +497,7 @@ cat << END
--without-stream_limit_conn_module disable ngx_stream_limit_conn_module
--without-stream_access_module disable ngx_stream_access_module
--without-stream_map_module disable ngx_stream_map_module
+ --without-stream_return_module disable ngx_stream_return_module
--without-stream_upstream_hash_module
disable ngx_stream_upstream_hash_module
--without-stream_upstream_least_conn_module