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