diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-02-07 22:56:28 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-02-07 22:56:28 +0000 |
commit | c0c3d14f297c1e7d149229f1bcf8730dcb551ad2 (patch) | |
tree | 263fcd71c46e15670d874e3b90cba357e61b5199 /regress/usr.sbin/relayd/args-http-filter.pl | |
parent | 3e47d2b6fb93a16503e0b7af5c1c361251b570df (diff) |
Add relayd regression tests with http filter and late connect.
Diffstat (limited to 'regress/usr.sbin/relayd/args-http-filter.pl')
-rw-r--r-- | regress/usr.sbin/relayd/args-http-filter.pl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/regress/usr.sbin/relayd/args-http-filter.pl b/regress/usr.sbin/relayd/args-http-filter.pl new file mode 100644 index 00000000000..db71a52a8fa --- /dev/null +++ b/regress/usr.sbin/relayd/args-http-filter.pl @@ -0,0 +1,24 @@ +# test http connection with request filter, triggers lateconnect + +use strict; +use warnings; + +our %args = ( + client => { + func => \&http_client, + len => 1, + }, + relayd => { + protocol => [ "http", + 'request path filter "/2"', + ], + loggrep => qr/done/, + }, + server => { + func => \&http_server, + }, + len => 1, + md5 => "68b329da9893e34099c7d8ad5cb9c940", +); + +1; |