diff options
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-client.pl')
-rw-r--r-- | regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-client.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-client.pl b/regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-client.pl new file mode 100644 index 00000000000..5f40cf86400 --- /dev/null +++ b/regress/sys/kern/sosplice/tcp/args-maxcopy-sleep-client.pl @@ -0,0 +1,16 @@ +# test relay maximum data length then copy with delay before client + +use strict; +use warnings; + +our %args = ( + client => { + func => sub { sleep 3; write_stream(@_); }, + }, + relay => { + func => sub { relay(@_, 61); relay_copy(@_); }, + nocheck => 1, + }, + len => 251, + md5 => "bc3a3f39af35fe5b1687903da2b00c7f", +); |