You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2005/05/20 02:56:05 UTC

svn commit: r171029 - /httpd/apreq/trunk/module/t/request.t

Author: joes
Date: Thu May 19 17:56:05 2005
New Revision: 171029

URL: http://svn.apache.org/viewcvs?rev=171029&view=rev
Log:
Raise filler to 250K, looking to flesh out
a prefetch read bug.   Also fix misnumbered tests.

Modified:
    httpd/apreq/trunk/module/t/request.t

Modified: httpd/apreq/trunk/module/t/request.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/module/t/request.t?rev=171029&r1=171028&r2=171029&view=diff
==============================================================================
--- httpd/apreq/trunk/module/t/request.t (original)
+++ httpd/apreq/trunk/module/t/request.t Thu May 19 17:56:05 2005
@@ -26,7 +26,7 @@
 
 ok t_cmp(GET_RC("/apreq_access_test"), 403, "access denied");
 
-my $filler = "0123456789" x 6400; # < 64K
+my $filler = "0123456789" x 25_000; # length($filler) must be < 500K / 2
 my $body = POST_BODY("/apreq_access_test?foo=1;", 
                      content => "bar=2&quux=$filler;test=6&more=$filler");
 ok t_cmp($body, <<EOT, "prefetch credentials");
@@ -87,14 +87,14 @@
 }
 
 ok t_cmp(GET_RC("/index.html"), 200, "/index.html");
-ok t_cmp(filter_content GET_BODY("/index.html?test=13"),
-         "ARGS:\n\ttest => 13\n", "output filter GET");
+ok t_cmp(filter_content GET_BODY("/index.html?test=15"),
+         "ARGS:\n\ttest => 15\n", "output filter GET");
 
-ok t_cmp(filter_content POST_BODY("/index.html?test=14", content => 
+ok t_cmp(filter_content POST_BODY("/index.html?test=16", content => 
          "post+data=foo;more=$filler;test=output+filter+POST"), 
          <<EOT,
 ARGS:
-\ttest => 14
+\ttest => 16
 BODY:
 \tpost data => foo
 \tmore => $filler