]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST/MINOR: remove double body specification for server txresp
authorPiBa-NL <PiBa.NL.dev@gmail.com>
Sat, 8 Dec 2018 18:48:37 +0000 (19:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 Dec 2018 18:56:48 +0000 (19:56 +0100)
fix http-rules/h00000.vtc / http-rules/h00000.vtc as both 'bodylen' and
'body' are specified, these settings conflict with each other as they
both generate/present the body to send.

reg-tests/http-rules/h00000.vtc
reg-tests/http-rules/h00001.vtc

index 25388f8a8130c3e267ffa4acf1902b3cfd81d316..aedb41ff7028fcd911d7fcb7741aa4fd7e517768 100644 (file)
@@ -25,7 +25,6 @@ server s1 {
          -hdr "hdr2:    val2b" \
          -hdr "hdr3:      val3a, val3b" \
          -hdr "hdr4:" \
-         -bodylen 14 \
          -body "This is a body"
 
        expect req.method == "GET"
index 80522a1b56eddfa3d28f96cbaee0b5c89e7b33dd..ca86f1b909eddcc5d57d4374cda415d61cd25d9d 100644 (file)
@@ -24,7 +24,6 @@ server s1 {
          -hdr "hdr2:    val2b" \
          -hdr "hdr3:      val3a, val3b" \
          -hdr "hdr4:" \
-         -bodylen 14 \
          -body "This is a body"
 
        expect req.method == "GET"