> kyle's post got me thinking.  it would be interesting to see 
> the output of 
> this along with those traces.  this is against CGI.pm 3.00.  
> untested, but 
> you get the idea :)

When I tried your patch as is, I got the following error:
*** reading POST data: CGI/usr/lib/perl5/5.8.0/CGI.pm518 at (eval 18) line
8.
[Fri Oct 31 09:44:07 2003] [error] 30899: ModPerl::Registry: argument is not
a blessed reference (expecting an APR::Table derived object) at (eval 18)
line 9.

So then I removed the second warn... I figure if it's reading
twice, you will just see two warns (I was watching as the requests
came in so there was no confusion):

+    if ($MOD_PERL) {
+      warn ('*** reading POST data: ', caller);
+    }

The end result is I only ever saw one warning per POST for both
the good and bad requests. You can see your warn's in amongst the
other stuff in the error_log in my previous response to Stas.

Cheers,
Scott Beuker

Reply via email to