]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[TESTS] update the url_param regression test to test check_post too
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Mar 2011 19:43:27 +0000 (20:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 1 Mar 2011 19:43:27 +0000 (20:43 +0100)
tests/test-url-hash.cfg

index d4285ffeac66ea6a5c72b460a206eda6986c5e9c..2f384cb9e3ef62eda39d29a29e4ab66aa4e682b5 100644 (file)
@@ -8,6 +8,7 @@ global
 
 listen  vip1
        log             global
+       option          httplog
         bind           :8000
         mode           http
         maxconn                100
@@ -21,3 +22,19 @@ listen  vip1
        # control activity this way
        stats           uri /stat
 
+listen  vip2
+       log             global
+       option          httplog
+       bind            :8001
+       mode            http
+       maxconn         100
+       clitimeout      5000
+       contimeout      5000
+       srvtimeout      5000
+       balance         url_param foo check_post
+       server          srv1 127.0.0.1:80
+       server          srv2 127.0.0.1:80
+
+       # control activity this way
+       stats           uri /stat
+