args-http-filter-block.pl revision 1.2
1# test http connection with request block filter, tests lateconnect 2 3use strict; 4use warnings; 5 6my @lengths = (1, 2, 0, 3); 7our %args = ( 8 client => { 9 func => sub { eval { http_client(@_) }; warn $@ }, 10 loggrep => qr/Client missing http 3 response/, 11 lengths => \@lengths, 12 }, 13 relayd => { 14 protocol => [ "http", 15 'request path filter "/3"', 16 ], 17 loggrep => qr/rejecting request/, 18 }, 19 server => { 20 func => \&http_server, 21 lengths => (1, 2, 0), 22 }, 23); 24 251; 26