package/nginx: add stream split clients option
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 23 Jun 2020 20:35:26 +0000 (22:35 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 23 Jun 2020 21:14:50 +0000 (23:14 +0200)
stream split clients module has been added in version 1.11.3 with
https://github.com/nginx/nginx/commit/6c2b086d0e10cab769f9321998dcb631796ec49b
and is enabled by default, add an option to be able to disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/nginx/Config.in
package/nginx/nginx.mk

index 9f742e3e6bc9f61ecf7c53f9070882802569eebb..eba0d30329b9690e7b252a5b55fbf7016a0da475 100644 (file)
@@ -364,6 +364,12 @@ config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE
        help
          Enable ngx_stream_map_module
 
+config BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE
+       bool "ngx_stream_split_client_module"
+       default y
+       help
+         Enable ngx_stream_split_clients_module
+
 config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE
        bool "ngx_stream_return_module"
        default y
index 8a5739cbb456b7c7775d48edfd42ee89cc959f25..1180810f51a72ac17677a58d8fb7e74eb09dba44 100644 (file)
@@ -239,6 +239,7 @@ NGINX_CONF_OPTS += \
        $(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \
        $(if $(BR2_PACKAGE_NGINX_STREAM_GEO_MODULE),,--without-stream_geo_module) \
        $(if $(BR2_PACKAGE_NGINX_STREAM_MAP_MODULE),,--without-stream_map_module) \
+       $(if $(BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE),,--without-stream_split_clients_module) \
        $(if $(BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE),,--without-stream_return_module) \
        $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE),,--without-stream_upstream_hash_module) \
        $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE),,--without-stream_upstream_least_conn_module) \