summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-client.pl
blob: d007443328e2b562dd54545c2be151b0536a813c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# test inline 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 => {
	oobinline => 1,
	max => 61,
	nocheck => 1,
    },
    server => {
	func => \&read_oob,
    },
    len => 61,
    md5 => "c9f459db9b4f369980c79bff17e1c2a0",
);