diff options
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-server.pl')
-rw-r--r-- | regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-server.pl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-server.pl b/regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-server.pl new file mode 100644 index 00000000000..d473fb04a5d --- /dev/null +++ b/regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-server.pl @@ -0,0 +1,24 @@ +# test inline out-of-band data with maximum data length delay before server + +use strict; +use warnings; + +our %args = ( + client => { + func => sub { errignore(@_); write_oob(@_); }, + nocheck => 1, + }, + relay => { + oobinline => 1, + max => 61, + }, + server => { + func => sub { sleep 3; read_oob(@_); }, + }, + len => 61, + md5 => [ + "c9f459db9b4f369980c79bff17e1c2a0", + "4b5efc5f86fa5fc873c82103ceece85d", + ], + noecho => 1, +); |