summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-07-16 16:43:26 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-07-16 16:43:26 +0000
commite4a7e5e18ea4b519b4ecaa1183bd4e740a8a9634 (patch)
tree9e26ea547100ef79d538a25ffd00661ce4e394d8 /regress
parentd4b1dfbc88152e44e0f0fbb503d8f49ba219d05d (diff)
Add another test for small packets
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/httpd/tests/args-get-512.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/usr.sbin/httpd/tests/args-get-512.pl b/regress/usr.sbin/httpd/tests/args-get-512.pl
new file mode 100644
index 00000000000..20e92c48889
--- /dev/null
+++ b/regress/usr.sbin/httpd/tests/args-get-512.pl
@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+
+my $len = 512;
+my @lengths = ($len, $len, $len);
+our %args = (
+ client => {
+ path => "$len",
+ http_vers => [ "1.0" ],
+ lengths => \@lengths,
+ },
+ md5 => path_md5("$len"),
+ lengths => \@lengths,
+);
+
+1;