summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/tcp/args-max-sleep-client-nonblock.pl
blob: 6b189a1695696fa6d48b875cc62aba6371370038 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# test maximum data length,
# client sleeps before writing,
# relay is non-blocking

use strict;
use warnings;

our %args = (
    client => {
	func => sub { sleep 3; write_stream(@_); },
	nocheck => 1,
    },
    relay => {
	max => 113,
	big => 1,
	nonblocking => 1,
    },
    len => 113,
    md5 => "dc099ef642faa02bce71298f11e7d44d",
);