summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-https-contentlength.pl
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2014-07-20 19:18:33 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2014-07-20 19:18:33 +0000
commit55d9a8c864489197269c0b93e088626a891f1363 (patch)
tree67d38c596eef52ef59cd95cbab690cbd09e408b1 /regress/usr.sbin/relayd/args-https-contentlength.pl
parent43d3dd96046841a03db84fa287262e4e4a010207 (diff)
A HTTP connection may have multiple requests with content. Allow
to specify an array of md5 hashes in the test arguments and check all of them in the client and server log files. So test that relayd does not modify the http body.
Diffstat (limited to 'regress/usr.sbin/relayd/args-https-contentlength.pl')
-rw-r--r--regress/usr.sbin/relayd/args-https-contentlength.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/usr.sbin/relayd/args-https-contentlength.pl b/regress/usr.sbin/relayd/args-https-contentlength.pl
index 80f6787e5d8..227d255da8f 100644
--- a/regress/usr.sbin/relayd/args-https-contentlength.pl
+++ b/regress/usr.sbin/relayd/args-https-contentlength.pl
@@ -24,6 +24,18 @@ our %args = (
ssl => 1,
},
lengths => \@lengths,
+ md5 => [
+ "68b329da9893e34099c7d8ad5cb9c940",
+ "897316929176464ebc9ad085f31e7284",
+ "d41d8cd98f00b204e9800998ecf8427e",
+ "0ade138937c4b9cb36a28e2edb6485fc",
+ "e686f5db1f8610b65f98f3718e1a5b72",
+ "68b329da9893e34099c7d8ad5cb9c940",
+ "897316929176464ebc9ad085f31e7284",
+ "d41d8cd98f00b204e9800998ecf8427e",
+ "0ade138937c4b9cb36a28e2edb6485fc",
+ "e686f5db1f8610b65f98f3718e1a5b72",
+ ],
);
1;