summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/udp/args-idle-timeout.pl
blob: cf4c3b74c7326c7f4153a9b619605fcc3aa796c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# test idle timeout, must not be too long

use strict;
use warnings;

my @lengths = (1, 2);

our %args = (
    client => {
	func => sub { sleep 1; write_datagram(@_); },
	lengths => \@lengths,
	sleep => 3,
	nocheck => 1,
    },
    relay => {
	idle => 2,
	timeout => 1,
    },
    len => 1,
    lengths => "1",
    md5 => "68b329da9893e34099c7d8ad5cb9c940",
);