1# test chunked http 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 }, 13 relayd => { 14 protocol => [ "http", 15 "match request header log foo", 16 "match response header log Transfer-Encoding", 17 ], 18 loggrep => { 19 "{Transfer-Encoding: chunked}" => 1, 20 qr/\[\(null\)\]/ => 0, 21 }, 22 }, 23 server => { 24 func => \&http_server, 25 }, 26 lengths => \@lengths, 27 md5 => [ 28 "bc3a3f39af35fe5b1687903da2b00c7f", 29 "fccd8d69acceb0cc35f2fd4e2f6938d3", 30 "c47658d102d5b989e0da09ce403f7463", 31 "68b329da9893e34099c7d8ad5cb9c940", 32 "897316929176464ebc9ad085f31e7284", 33 "0ade138937c4b9cb36a28e2edb6485fc", 34 ], 35); 36 371; 38