xref: /openbsd-src/regress/sys/kern/sosplice/tcp/args-reverse-nonblock.pl (revision f39f8f3039424a0ac4b9abe20b9a51daf9fe6e1a)
1# test reverse sending with non-blocking relay
2
3use strict;
4use warnings;
5
6our %args = (
7    client => {
8	func => \&read_stream,
9    },
10    relay => {
11	func => sub { ioflip(@_); relay(@_); },
12	nonblocking => 1,
13    },
14    server => {
15	func => \&write_stream,
16    },
17    len => 251,
18    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
19);
20