diff options
Diffstat (limited to 'regress/sys/kern/splice/args-smallrcv-sleep-relay.pl')
-rw-r--r-- | regress/sys/kern/splice/args-smallrcv-sleep-relay.pl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-smallrcv-sleep-relay.pl b/regress/sys/kern/splice/args-smallrcv-sleep-relay.pl new file mode 100644 index 00000000000..f1845c55d36 --- /dev/null +++ b/regress/sys/kern/splice/args-smallrcv-sleep-relay.pl @@ -0,0 +1,18 @@ +# test with smaller relay receive buffer delay before relay + +use strict; +use warnings; + +our %args = ( + client => { + len => 2**17, + }, + relay => { + func => sub { sleep 3; relay(@_); }, + rcvbuf => 2**12, + }, + len => 131072, + md5 => "31e5ad3d0d2aeb1ad8aaa847dfa665c2", +); + +1; |