summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2016-07-12 17:34:52 +0300
committerVladimir Homutov <vl@nginx.com>2016-07-12 17:34:52 +0300
commit6c2b086d0e10cab769f9321998dcb631796ec49b (patch)
tree25fae9b8822b00c3b28962ddd387d0a7f2c33c6d /auto
parentbb790f5d30025b634673fcb9939ded5b0c60301f (diff)
downloadnginx-6c2b086d0e10cab769f9321998dcb631796ec49b.tar.gz
nginx-6c2b086d0e10cab769f9321998dcb631796ec49b.tar.bz2
Stream: split_clients module.
Diffstat (limited to 'auto')
-rw-r--r--auto/modules10
-rw-r--r--auto/options5
2 files changed, 15 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 549ad1645..829079842 100644
--- a/auto/modules
+++ b/auto/modules
@@ -1054,6 +1054,16 @@ if [ $STREAM != NO ]; then
. auto/module
fi
+ if [ $STREAM_SPLIT_CLIENTS = YES ]; then
+ ngx_module_name=ngx_stream_split_clients_module
+ ngx_module_deps=
+ ngx_module_srcs=src/stream/ngx_stream_split_clients_module.c
+ ngx_module_libs=
+ ngx_module_link=$STREAM_SPLIT_CLIENTS
+
+ . auto/module
+ fi
+
if [ $STREAM_RETURN = YES ]; then
ngx_module_name=ngx_stream_return_module
ngx_module_deps=
diff --git a/auto/options b/auto/options
index ed172ba14..a8fce30b4 100644
--- a/auto/options
+++ b/auto/options
@@ -120,6 +120,7 @@ STREAM_ACCESS=YES
STREAM_GEO=YES
STREAM_GEOIP=NO
STREAM_MAP=YES
+STREAM_SPLIT_CLIENTS=YES
STREAM_RETURN=YES
STREAM_UPSTREAM_HASH=YES
STREAM_UPSTREAM_LEAST_CONN=YES
@@ -303,6 +304,8 @@ use the \"--with-mail_ssl_module\" option instead"
--without-stream_access_module) STREAM_ACCESS=NO ;;
--without-stream_geo_module) STREAM_GEO=NO ;;
--without-stream_map_module) STREAM_MAP=NO ;;
+ --without-stream_split_clients_module)
+ STREAM_SPLIT_CLIENTS=NO ;;
--without-stream_return_module) STREAM_RETURN=NO ;;
--without-stream_upstream_hash_module)
STREAM_UPSTREAM_HASH=NO ;;
@@ -506,6 +509,8 @@ cat << END
--without-stream_access_module disable ngx_stream_access_module
--without-stream_geo_module disable ngx_stream_geo_module
--without-stream_map_module disable ngx_stream_map_module
+ --without-stream_split_clients_module
+ disable ngx_stream_split_clients_module
--without-stream_return_module disable ngx_stream_return_module
--without-stream_upstream_hash_module
disable ngx_stream_upstream_hash_module