diff options
Diffstat (limited to 'regress/sys/kern/sosplice/udp/args-idle-timeout.pl')
-rw-r--r-- | regress/sys/kern/sosplice/udp/args-idle-timeout.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/udp/args-idle-timeout.pl b/regress/sys/kern/sosplice/udp/args-idle-timeout.pl new file mode 100644 index 00000000000..5e58a1225e4 --- /dev/null +++ b/regress/sys/kern/sosplice/udp/args-idle-timeout.pl @@ -0,0 +1,16 @@ +# test idle timeout + +use strict; +use warnings; + +our %args = ( + client => { + func => sub { sleep 1; write_datagram(@_); sleep 3; }, + }, + relay => { + idle => 2, + timeout => 1, + }, + len => 251, + md5 => "bc3a3f39af35fe5b1687903da2b00c7f", +); |