summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-smallbuf-sleep-relay.pl
blob: 3a116bfeafe12dc7d8e10676ccc6985476d48d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# test with smaller relay send and receive buffers delay before relay

use strict;
use warnings;

our %args = (
    client => {
	len => 2**17,
    },
    relay => {
	func => sub { sleep 3; relay(@_); },
	sndbuf => 2**12,
	rcvbuf => 2**12,
    },
    len => 131072,
    md5 => "31e5ad3d0d2aeb1ad8aaa847dfa665c2",
);

1;