args-https-filter-persistent.pl revision 1.4
1# test persistent https 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 ssl => 1, 13 }, 14 relayd => { 15 protocol => [ "http", 16 'block request path "/2"', 17 ], 18 loggrep => [ 19 qr/ssl, ssl client/ => 1, 20 qr/Forbidden/ => 1, 21 ], 22 forwardssl => 1, 23 listenssl => 1, 24 }, 25 server => { 26 func => \&http_server, 27 ssl => 1, 28 }, 29 lengths => [251, 16384, 0, 1, 3, 4, 5], 30 md5 => [ 31 "bc3a3f39af35fe5b1687903da2b00c7f", 32 "52afece07e61264c3087ddf52f729376", 33 "d41d8cd98f00b204e9800998ecf8427e", 34 "68b329da9893e34099c7d8ad5cb9c940", 35 "0ade138937c4b9cb36a28e2edb6485fc", 36 "e686f5db1f8610b65f98f3718e1a5b72", 37 "e5870c1091c20ed693976546d23b4841", 38 "bc3a3f39af35fe5b1687903da2b00c7f", 39 "52afece07e61264c3087ddf52f729376", 40 "d41d8cd98f00b204e9800998ecf8427e", 41 "68b329da9893e34099c7d8ad5cb9c940", 42 "0ade138937c4b9cb36a28e2edb6485fc", 43 "e686f5db1f8610b65f98f3718e1a5b72", 44 "e5870c1091c20ed693976546d23b4841", 45 ], 46); 47 481; 49