You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2004/06/27 02:58:30 UTC

[apreq-2] perl cgi tests

In running the perl glue cgi tests on Win32 with the current
cvs, I get things hanging after about test 16. I think this
is due to printing out to the error log the informational
messages, as at about test 16 what's printed out is getting
pretty large. Disabling this printing by:
===========================================================
Index: glue/perl/t/apreq/cgi.t
===================================================================
RCS file: /home/cvs/httpd-apreq-2/glue/perl/t/apreq/cgi.t,v
retrieving revision 1.2
diff -u -r1.2 cgi.t
--- glue/perl/t/apreq/cgi.t	19 Jun 2004 15:38:18 -0000	1.2
+++ glue/perl/t/apreq/cgi.t	26 Jun 2004 20:34:57 -0000
@@ -200,7 +200,7 @@
     for ($req->param) {
         my $param = $req->param($_);
         next unless $param;
-        apreq_log("$_ => $param");
+        # apreq_log("$_ => $param");
         $len += length($_) + length($param);
     }
     print $len;

==========================================================
allows all the tests to pass for me.

-- 
best regards,
randy

Re: [apreq-2] perl cgi tests

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sat, 27 Jun 2004, Joe Schaefer wrote:

> Randy Kobes <ra...@theoryx5.uwinnipeg.ca> writes:
>
> > In running the perl glue cgi tests on Win32 with the current
> > cvs, I get things hanging after about test 16. I think this
> > is due to printing out to the error log the informational
> > messages, as at about test 16 what's printed out is getting
> > pretty large. Disabling this printing by:
>
> Do they pass if you leave apreq_log uncommented, and use
> the smaller sequence for @big_key_len (100, 500, 1000, 2500)?

Yes, they do pass.

> Is this the same problem you were having back in December,
> when you first posted cgi.t?

That's right. However, if they pass for others on unix (I
haven't tried that yet), rather than commenting things out
like this, I should rather try to see why writing largish
things to the error log on Win32 causes things to hang.

-- 
best regards,
randy


Re: [apreq-2] perl cgi tests

Posted by Joe Schaefer <jo...@sunstarsys.com>.
Randy Kobes <ra...@theoryx5.uwinnipeg.ca> writes:

> In running the perl glue cgi tests on Win32 with the current
> cvs, I get things hanging after about test 16. I think this
> is due to printing out to the error log the informational
> messages, as at about test 16 what's printed out is getting
> pretty large. Disabling this printing by:

Do they pass if you leave apreq_log uncommented, and use 
the smaller sequence for @big_key_len (100, 500, 1000, 2500)?
Is this the same problem you were having back in December,
when you first posted cgi.t?

-- 
Joe Schaefer