Commit 8c12d04f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add regression test for ticket 262



git-svn-id: http://www.varnish-cache.org/svn/trunk@2800 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 31b33d67
# $Id$
test "Test that inter-request whitespace trimming works"
server s1 {
rxreq
txresp \
-hdr "Connection: close" \
-body "012345\n"
}
varnish v1 -arg "-p session_linger=20" -vcl+backend { } -start
server s1 -start
client c1 {
send "GET / HTTP/1.1\r\n\r\n\r\n"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1001"
send "GET / HTTP/1.1\r\n\r\n"
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1002 1001"
}
client c1 -run
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment