summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-server.pl
blob: d473fb04a5ded43cdbac99f7abb7cc322c280e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# test inline out-of-band data with maximum data length delay before server

use strict;
use warnings;

our %args = (
    client => {
	func => sub { errignore(@_); write_oob(@_); },
	nocheck => 1,
    },
    relay => {
	oobinline => 1,
	max => 61,
    },
    server => {
	func => sub { sleep 3; read_oob(@_); },
    },
    len => 61,
    md5 => [
	"c9f459db9b4f369980c79bff17e1c2a0",
	"4b5efc5f86fa5fc873c82103ceece85d",
    ],
    noecho => 1,
);