summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-relay-read-blocking.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-relay-read-blocking.pl')
-rw-r--r--regress/sys/kern/sosplice/tcp/args-relay-read-blocking.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-relay-read-blocking.pl b/regress/sys/kern/sosplice/tcp/args-relay-read-blocking.pl
new file mode 100644
index 00000000000..fe67ad42570
--- /dev/null
+++ b/regress/sys/kern/sosplice/tcp/args-relay-read-blocking.pl
@@ -0,0 +1,15 @@
+# test waiting for splice finish with blocking read
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ len => 2**17,
+ },
+ relay => {
+ readblocking => 1,
+ },
+ len => 131072,
+ md5 => "31e5ad3d0d2aeb1ad8aaa847dfa665c2",
+);