summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-null-max-sleep-client-nonblock.pl
blob: d065c29ed9963d4434d3e7254a9a0780d021727d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# test maximum data length with delay before empty client write with non-blocking relay

use strict;
use warnings;

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