summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-http-mark.pl
blob: dfaa5290947cc189132d765bd3699a66daf3cdc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use strict;
use warnings;

our %args = (
    client => {
	func => \&http_client,
	path => "foobar?path",
    },
    relayd => {
	protocol => [ "http",
	    'match request path "/foobar" value "*" tag RING0',
	    'block request',
	    'pass request quick tagged RING0',
	],
	loggrep => { ", RING0,.*done" => 1 },
    },
    server => {
	func => \&http_server,
    },
    len => 12,
);

1;