perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <>
Subject Re: Handler getting called 10 times when returning no data
Date Tue, 06 May 2003 20:50:25 GMT
On Tue, 2003-05-06 at 11:00, wrote:
> I noticed something curious...if I insert a 'warn "Inside handler";  return
> Apache::OK;' in my content handler before printing anything to STDOUT, I get
> "Inside handler" printed 10 times in my error log for every request made.
> If I change it to 'warn "Inside handler";  print "Hello"; return
> Apache::OK;' I only get it once, along witht he Hello in the browser.

What are you testing with?  GUI web browsers do lots of crazy things. 
Try it with GET or wget, and try sending a header before returning.

- Perrin

View raw message