diff lib/Test/Nginx.pm @ 557:05cbe9e2def8

Tests: basic stream tests for upstream least_conn.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 23 Apr 2015 14:01:13 +0300
parents 93af034fda47
children f3434de79a7f
line wrap: on
line diff
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -133,6 +133,8 @@ sub has_module($) {
 		split_clients
 			=> '(?s)^(?!.*--without-http_split_clients_module)',
 		stream	=> '--with-stream(?!\S)',
+		stream_upstream_least_conn
+			=> '(?s)^(?!.*--without-stream_upstream_least_conn_m)',
 	);
 
 	my $re = $regex{$feature};