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

use strict;
use warnings;

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