[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#242499: libapache-mod-perl: same here



On Thu, May 27, 2004 at 11:53:45PM -0700, Don Armstrong wrote:
> On Thu, 27 May 2004, Ryan Underwood wrote:
> > I have a similar setup to the parent poster with a script running
> > under mod_perl and Apache::Registry.  Occasionally, the page
> > intended for the browser is written to the error log instead and the
> > user only receives the HTTP headers.
> 
> This sure sounds like something is select()'ing STDERR, and so output
> that would by default go to STDOUT is now being sent to STDERR.
> 
> It could very well be a bug in the script, or some sort of bug in
> mod_perl that is being triggered causing the wrong file handle to be
> selected.
> 
> Anyway, if you could design a testcase so that we can duplicate it,
> that would be extreemly usefull.

A bit more information:

Occasionally the headers are sent to the client, and occasionally they
go to the error log as well.

On a particular run when the output will be sent to the error log
instead, the browser connection is dropped almost immediately.  By the
time mod_perl output reaches the log file, the browser has been idle for
some time already (no longer trying to fetch the page).

-- 
Ryan Underwood, <nemesis@icequake.net>

Attachment: signature.asc
Description: Digital signature


Reply to: