Commit 988f7116 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Test for HTTP/1.0 (EOF) transmission



git-svn-id: http://www.varnish-cache.org/svn/trunk@2835 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 055a5069
# $Id$
test "Check HTTP/1.0 EOF transmission"
varnish v1 -arg "-h simple_list -b 127.0.0.1:9080" -start
server s1 {
rxreq
txresp -hdr "Connection: close"
send "Body line 1\n"
send "Body line 2\n"
send "Body line 3\n"
}
server s1 -start
client c1 {
txreq -url "/"
rxresp
expect resp.status == 200
expect resp.http.content-length == 36
}
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