summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/tcp/args-oob-max-sleep-client.pl
blob: 9fbf9c321bf60baa89fc1598acbb520e01439eef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# test out-of-band data with maximum data length delay before client

use strict;
use warnings;

our %args = (
    client => {
	func => sub { errignore(@_); sleep 3; write_oob(@_); },
	nocheck => 1,
    },
    relay => {
	max => 61,
	nocheck => 1,
    },
    server => {
	func => \&read_oob,
    },
    len => 61,
    md5 => "e4282daf8d2ca21cc8b70b1314713314",
);