summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-smallrcv-sleep-server.pl
blob: 2654c07b343048c0cf8b724789b83f99da2124f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# test with smaller relay receive buffer delay before server

use strict;
use warnings;

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