summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-client.pl
blob: 780cff70e4c63eeb63139c08070e9223cd8b7a95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# test maximum data length then copy stream,
# client sleeps before writing

use strict;
use warnings;

our %args = (
    client => {
	func => sub { sleep 3; write_stream(@_); },
    },
    relay => {
	func => sub { relay(@_); relay_copy(@_); },
	max => 197,
	big => 1,
	end => 1,
	nocheck => 1,
    },
    len => 251,
    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
);