blob: a67ba013adb1609dd3cb57e571bd59710fe6ac78 (
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
26
27
28
|
# test mix write and relay delaying before server read
use strict;
use warnings;
our %args = (
client => {
func => sub { sleep 4; write_char(@_); },
len => 65521,
nocheck => 1,
},
relay => {
func => sub {
write_char(@_, 32749);
IO::Handle::flush(\*STDOUT);
relay(@_);
write_char(@_, 2039);
},
nocheck => 1,
},
server => {
func => sub { sleep 3; read_char(@_); },
},
len => 100309,
md5 => "0efc7833e5c0652823ca63eaccb9918f",
);
1;
|