1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
use strict;
use warnings;
our %args = (
client => {
func => \&http_client,
path => "query?foobar",
},
relayd => {
table => 1,
protocol => [ "http",
'match request path hash "/query"',
'match request path log "/query"',
],
relay => 'forward to <table-$test> port $connectport',
loggrep => {
qr/ (?:done|last write \(done\)), \[\/query: foobar\]/ => 1,
},
},
server => {
func => \&http_server,
},
len => 13,
);
1;
|