summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-http-filter.pl
blob: bf282f7b998cbc7d6ce607ef74b41ffe9af50b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# test http connection with request filter, triggers lateconnect

use strict;
use warnings;

our %args = (
    client => {
	func => \&http_client,
	len => 1,
    },
    relayd => {
	protocol => [ "http",
	    'match request path "/2"',
	],
	loggrep => qr/done/,
    },
    server => {
	func => \&http_server,
    },
    len => 1,
    md5 => "68b329da9893e34099c7d8ad5cb9c940",
);

1;