in random-forwarding.vtc script, adding "Content-Lnegth; 0" header in the
successful response to the CONNECT request is invalid but it may also lead
to wrong check on the response. "rxresp" directive don"t handle CONNECT
response. Thus "-no_obj" must be added instead, to be sure the payload won't
be retrieved or expected.
rxreq
expect req.url == "127.0.0.1:80"
- txresp \
- -hdr "Content-Length: 0"
+ txresp -nolen
recv 36000
send_n 1000 "0123456789abcdefghijklmnopqrstuvwxyz"
barrier b1 sync
expect resp.bodylen == 1048576
txreq -method "CONNECT" -url "127.0.0.1:80" -nolen
- rxresp
+ rxresp -no_obj
expect resp.status == 200
send_n 1000 "0123456789abcdefghijklmnopqrstuvwxyz"
recv 36000