13a4f532cSbluhm# test persistent https 1.1 put over http relay 23a4f532cSbluhm 33a4f532cSbluhmuse strict; 43a4f532cSbluhmuse warnings; 53a4f532cSbluhm 63a4f532cSbluhmmy @lengths = (251, 16384, 0, 1, 2, 3, 4, 5); 73a4f532cSbluhmour %args = ( 83a4f532cSbluhm client => { 93a4f532cSbluhm func => \&http_client, 103a4f532cSbluhm lengths => \@lengths, 113a4f532cSbluhm method => "PUT", 123a4f532cSbluhm ssl => 1, 133a4f532cSbluhm }, 14e1c6cc06Sbluhm relayd => { 153a4f532cSbluhm protocol => [ "http", 16e49fb922Sreyk "match request header log foo", 17e49fb922Sreyk "match response header log bar", 183a4f532cSbluhm ], 196a49f6d0Sbluhm loggrep => { 206a49f6d0Sbluhm qr/, (?:done|last write \(done\))/ => (1 + @lengths), 216a49f6d0Sbluhm }, 223a4f532cSbluhm forwardssl => 1, 233a4f532cSbluhm listenssl => 1, 243a4f532cSbluhm }, 253a4f532cSbluhm server => { 263a4f532cSbluhm func => \&http_server, 273a4f532cSbluhm ssl => 1, 283a4f532cSbluhm }, 293a4f532cSbluhm lengths => \@lengths, 30*4812e4f6Sbluhm md5 => [ 31*4812e4f6Sbluhm "bc3a3f39af35fe5b1687903da2b00c7f", 32*4812e4f6Sbluhm "52afece07e61264c3087ddf52f729376", 33*4812e4f6Sbluhm "d41d8cd98f00b204e9800998ecf8427e", 34*4812e4f6Sbluhm "68b329da9893e34099c7d8ad5cb9c940", 35*4812e4f6Sbluhm "897316929176464ebc9ad085f31e7284", 36*4812e4f6Sbluhm "0ade138937c4b9cb36a28e2edb6485fc", 37*4812e4f6Sbluhm "e686f5db1f8610b65f98f3718e1a5b72", 38*4812e4f6Sbluhm "e5870c1091c20ed693976546d23b4841", 39*4812e4f6Sbluhm "bc3a3f39af35fe5b1687903da2b00c7f", 40*4812e4f6Sbluhm "52afece07e61264c3087ddf52f729376", 41*4812e4f6Sbluhm "d41d8cd98f00b204e9800998ecf8427e", 42*4812e4f6Sbluhm "68b329da9893e34099c7d8ad5cb9c940", 43*4812e4f6Sbluhm "897316929176464ebc9ad085f31e7284", 44*4812e4f6Sbluhm "0ade138937c4b9cb36a28e2edb6485fc", 45*4812e4f6Sbluhm "e686f5db1f8610b65f98f3718e1a5b72", 46*4812e4f6Sbluhm "e5870c1091c20ed693976546d23b4841", 47*4812e4f6Sbluhm ], 483a4f532cSbluhm); 493a4f532cSbluhm 503a4f532cSbluhm1; 51