1# test persistent http connection with request filter 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 loggrep => qr/Client missing http 2 response/, 12 }, 13 relayd => { 14 protocol => [ "http", 15 'block request path "/2"', 16 ], 17 loggrep => qr/Forbidden/, 18 }, 19 server => { 20 func => \&http_server, 21 }, 22 lengths => [251, 16384, 0, 1, 3, 4, 5], 23 md5 => [ 24 "bc3a3f39af35fe5b1687903da2b00c7f", 25 "52afece07e61264c3087ddf52f729376", 26 "d41d8cd98f00b204e9800998ecf8427e", 27 "68b329da9893e34099c7d8ad5cb9c940", 28 "0ade138937c4b9cb36a28e2edb6485fc", 29 "e686f5db1f8610b65f98f3718e1a5b72", 30 "e5870c1091c20ed693976546d23b4841", 31 "bc3a3f39af35fe5b1687903da2b00c7f", 32 "52afece07e61264c3087ddf52f729376", 33 "d41d8cd98f00b204e9800998ecf8427e", 34 "68b329da9893e34099c7d8ad5cb9c940", 35 "0ade138937c4b9cb36a28e2edb6485fc", 36 "e686f5db1f8610b65f98f3718e1a5b72", 37 "e5870c1091c20ed693976546d23b4841", 38 ], 39); 40 411; 42