diff options
Diffstat (limited to 'regress/usr.sbin/relayd/args-http-filter-block.pl')
-rw-r--r-- | regress/usr.sbin/relayd/args-http-filter-block.pl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/regress/usr.sbin/relayd/args-http-filter-block.pl b/regress/usr.sbin/relayd/args-http-filter-block.pl index a3bf1ec66c2..340853ea25e 100644 --- a/regress/usr.sbin/relayd/args-http-filter-block.pl +++ b/regress/usr.sbin/relayd/args-http-filter-block.pl @@ -6,10 +6,9 @@ use warnings; my @lengths = (1, 2, 0, 3); our %args = ( client => { - func => sub { eval { http_client(@_) }; warn $@ }, + func => \&http_client, loggrep => qr/Client missing http 3 response/, - lengths => \@lengths, - mreqs => 1, + lengths => \@lengths, }, relayd => { protocol => [ "http", @@ -19,9 +18,8 @@ our %args = ( }, server => { func => \&http_server, - lengths => (1, 2, 0), - mreqs => 3, }, + lengths => [1, 2, 0], ); 1; |