args-https-persistent.pl revision 1.6
1# test persistent https 1.1 connection over http relay 2 3use strict; 4use warnings; 5 6my @lengths = (251, 16384, 0, 1, 2, 3, 4, 5); 7our %args = ( 8 client => { 9 func => \&http_client, 10 lengths => \@lengths, 11 ssl => 1, 12 }, 13 relayd => { 14 protocol => [ "http", 15 "match request header log foo", 16 "match response header log bar", 17 ], 18 loggrep => { 19 qr/, (?:done|last write \(done\))/ => (1 + @lengths), 20 }, 21 forwardssl => 1, 22 listenssl => 1, 23 }, 24 server => { 25 func => \&http_server, 26 ssl => 1, 27 }, 28 lengths => \@lengths, 29 md5 => "bc3a3f39af35fe5b1687903da2b00c7f", 30); 31 321; 33