You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2020/03/25 14:10:32 UTC

svn commit: r1875640 - /httpd/test/framework/trunk/Makefile.PL

Author: rjung
Date: Wed Mar 25 14:10:32 2020
New Revision: 1875640

URL: http://svn.apache.org/viewvc?rev=1875640&view=rev
Log:
Add default values for limitrequestline and
limitrequestlinex2.

Modified:
    httpd/test/framework/trunk/Makefile.PL

Modified: httpd/test/framework/trunk/Makefile.PL
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/Makefile.PL?rev=1875640&r1=1875639&r2=1875640&view=diff
==============================================================================
--- httpd/test/framework/trunk/Makefile.PL (original)
+++ httpd/test/framework/trunk/Makefile.PL Wed Mar 25 14:10:32 2020
@@ -31,9 +31,16 @@ my %local_args = (
     limitrequestline => 'Value for LimitRequestLine',
     limitrequestlinex2 => 'Twice the value for LimitRequestLine',
 );
-my($argv, $vars) = Apache::TestConfig::filter_args(\@ARGV, \%local_args);
+my($argv, $args_vars) = Apache::TestConfig::filter_args(\@ARGV, \%local_args);
 @ARGV = @$argv;
-push(@Apache::TestMM::Argv, %$vars);
+# Merge given vars with default values
+my %local_vars = (
+    limitrequestline => '128',
+    limitrequestlinex2 => '256',
+);
+map {$local_vars{$_} = $args_vars->{$_}} keys %$args_vars;
+
+push(@Apache::TestMM::Argv, %local_vars);
 
 for my $script (@scripts) {
     Apache::TestMM::generate_script($script);