diff options
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-write.pl')
-rw-r--r-- | regress/sys/kern/sosplice/tcp/args-write.pl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-write.pl b/regress/sys/kern/sosplice/tcp/args-write.pl new file mode 100644 index 00000000000..22fa57eba6f --- /dev/null +++ b/regress/sys/kern/sosplice/tcp/args-write.pl @@ -0,0 +1,22 @@ +# test mix write and relay + +use strict; +use warnings; + +our %args = ( + client => { + len => 65521, + nocheck => 1, + }, + relay => { + func => sub { + write_stream(@_, 32749); + IO::Handle::flush(\*STDOUT); + relay(@_); + write_stream(@_, 2039); + }, + nocheck => 1, + }, + len => 100309, + md5 => "0efc7833e5c0652823ca63eaccb9918f", +); |