args-https-persistent.pl revision 1.7
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 => [ 30 "bc3a3f39af35fe5b1687903da2b00c7f", 31 "52afece07e61264c3087ddf52f729376", 32 "d41d8cd98f00b204e9800998ecf8427e", 33 "68b329da9893e34099c7d8ad5cb9c940", 34 "897316929176464ebc9ad085f31e7284", 35 "0ade138937c4b9cb36a28e2edb6485fc", 36 "e686f5db1f8610b65f98f3718e1a5b72", 37 "e5870c1091c20ed693976546d23b4841", 38 "bc3a3f39af35fe5b1687903da2b00c7f", 39 "52afece07e61264c3087ddf52f729376", 40 "d41d8cd98f00b204e9800998ecf8427e", 41 "68b329da9893e34099c7d8ad5cb9c940", 42 "897316929176464ebc9ad085f31e7284", 43 "0ade138937c4b9cb36a28e2edb6485fc", 44 "e686f5db1f8610b65f98f3718e1a5b72", 45 "e5870c1091c20ed693976546d23b4841", 46 ], 47); 48 491; 50