blob: 0e18d2f14abd3cdccec52a88311f4e4f273660f3 (
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 that 2 seconds timeout does not occur while server writes for 4 seconds
use strict;
use warnings;
our %args = (
client => {
func => \&http_client,
len => 5,
method => "GET",
timefile => "",
},
relayd => {
relay => [ "session timeout 2" ],
loggrep => { qr/(buffer event|splice) timeout/ => 0 },
},
server => {
func => \&http_server,
sleep => 1,
method => "GET",
},
len => 5,
);
1;
|