1# test http connection over http relay 2# The client writes an incomplete header line and closes the connection. 3# Check that the relay establishes and also closes the session. 4 5use strict; 6use warnings; 7 8our %args = ( 9 client => { 10 func => sub { 11 print "GET "; # missing new line 12 }, 13 nocheck => 1, 14 }, 15 relayd => { 16 protocol => [ "http", 17 "match request header log foo", 18 "match response header log bar", 19 ], 20 loggrep => { 21 qr/session 1 .*, done/ => 1, 22 }, 23 }, 24 server => { 25 noserver => 1, 26 nocheck => 1, 27 }, 28); 29 301; 31