]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
TESTS: Add a testcase for multi-port + multi-server listener issue
authorPhilipp Kolmann <philipp@kolmann.at>
Tue, 24 Oct 2017 09:32:22 +0000 (11:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Mar 2018 10:48:29 +0000 (11:48 +0100)
tests/tcp-check.cfg

index 16d2836e28ab06b0024b3e1bbfed53e407a0da6e..56aba53cb6b9d7a16f5529fe38319dc5c913d11b 100644 (file)
@@ -13,6 +13,17 @@ listen stats
        bind :8888
        stats uri /
 
+listen multi-tcp-check
+        bind :80
+        mode tcp
+        option tcp-check
+        tcp-check connect port 9001
+        tcp-check connect port 9002
+
+        server server1 127.0.0.1: check
+        server server2 127.0.0.2: check
+        server server3 127.0.0.3: check
+
 backend tcp9000
        option tcp-check
        server srv 127.0.0.1:9000 check inter 1s