summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/tcp/args-reverse-nonblock.pl
blob: 06591cf6697cf8870cc1cf52c9866de6e9089e2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# test reverse sending with non-blocking relay

use strict;
use warnings;

our %args = (
    client => {
	func => \&read_stream,
    },
    relay => {
	func => sub { ioflip(@_); relay(@_); },
	nonblocking => 1,
    },
    server => {
	func => \&write_stream,
    },
    len => 251,
    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
);