summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-idle-trickle.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/splice/args-idle-trickle.pl')
-rw-r--r--regress/sys/kern/splice/args-idle-trickle.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-idle-trickle.pl b/regress/sys/kern/splice/args-idle-trickle.pl
new file mode 100644
index 00000000000..d86c9e56175
--- /dev/null
+++ b/regress/sys/kern/splice/args-idle-trickle.pl
@@ -0,0 +1,18 @@
+# test non idle connection does not timeout by sending a byte every second
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ len => 6,
+ sleep => 1,
+ },
+ relay => {
+ idle => 2,
+ },
+ len => 6,
+ md5 => "857f2261690a2305dba03062e778a73b",
+);
+
+1;