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