summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-null-max-sleep-client.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-null-max-sleep-client.pl')
-rw-r--r--regress/sys/kern/sosplice/tcp/args-null-max-sleep-client.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-null-max-sleep-client.pl b/regress/sys/kern/sosplice/tcp/args-null-max-sleep-client.pl
new file mode 100644
index 00000000000..4b00840c17e
--- /dev/null
+++ b/regress/sys/kern/sosplice/tcp/args-null-max-sleep-client.pl
@@ -0,0 +1,16 @@
+# test maximum data length with delay before empty client write
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ func => sub { sleep 3; write_stream(@_); },
+ len => 0,
+ },
+ relay => {
+ max => 113,
+ },
+ len => 0,
+ md5 => "d41d8cd98f00b204e9800998ecf8427e",
+);