"Fossies" - the Fresh Open Source Software Archive

Member "varnish-6.3.1/bin/varnishtest/tests/a00007.vtc" (17 Oct 2016, 357 Bytes) of package /linux/www/varnish-6.3.1.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 varnishtest "TCP reuse"
    2 
    3 server s1 {
    4 	rxreq
    5 	expect req.url == "/1"
    6 	txresp -body "123456789\n"
    7 	rxreq
    8 	expect req.url == "/2"
    9 	txresp -body "987654321\n"
   10 }
   11 
   12 server s1 -start
   13 
   14 client c1 -connect ${s1_sock} {
   15 	txreq -url "/1" -req "POST" -body "abcdefghi\n"
   16 	rxresp
   17 	txreq -url "/2" -req "POST" -body "ihgfedcba\n"
   18 	rxresp
   19 }
   20 
   21 client c1 -run
   22 
   23 server s1 -wait