args-https-filter-persistent.pl revision 1.1
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 # relayd closes the connection on the first blocked request 10 func => sub { eval { http_client(@_) }; warn $@ }, 11 lengths => \@lengths, 12 loggrep => qr/Client missing http 2 response/, 13 ssl => 1, 14 }, 15 relayd => { 16 protocol => [ "http", 17 'request path filter "/2"', 18 ], 19 loggrep => [ 20 qr/ssl, ssl client/, 21 qr/rejecting request/, 22 ], 23 forwardssl => 1, 24 listenssl => 1, 25 }, 26 server => { 27 func => \&http_server, 28 ssl => 1, 29 }, 30 lengths => [251, 16384, 0, 1], 31 md5 => "bc3a3f39af35fe5b1687903da2b00c7f", 32); 33 341; 35