summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-server.pl
blob: fee64499e92da144a60ab7b59dc75243e2ea0f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# test relay maximum data length then copy with delay before server

use strict;
use warnings;

our %args = (
    relay => {
	func => sub { relay(@_, 61); relay_copy(@_); },
	nocheck => 1,
    },
    server => {
	func => sub { sleep 3; read_stream(@_); },
    },
    len => 251,
    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
);