blob: 380d7166bdedefe3423681ed93177ce383c3756a (
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
25
|
# test 50 http put with length 1 over http relay
use strict;
use warnings;
my @lengths = map { 1 } (1..50);
our %args = (
client => {
func => \&http_client,
lengths => \@lengths,
method => "PUT",
},
relayd => {
protocol => [ "http" ],
loggrep => {
qr/, (?:done|last write \(done\)), PUT/ => (1 + @lengths),
},
},
server => {
func => \&http_server,
},
lengths => \@lengths,
);
1;
|