summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/tcp/args-null-max-sleep-client-nonblock.pl
blob: 0577016818115f747d97ab737459c2ad79e98eac (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 with empty client write,
# client sleeps before writing,
# relay is non-blocking

use strict;
use warnings;

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