Re: pipe_loop: too many headers
Tomas Svensson <[email protected]> Wed, 9 Oct 2002 02:00:59 +0200
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <[email protected]> |
Sunday, October 6, 2002, 12:18:47 AM, you wrote: MB> On Fri, 4 Oct 2002 [email protected] wrote: >> Hi, >> >> Does anyone have an idea why I get this error when trying to use >> php 4.2.3 under OpenBSD with mathopd 1.4 / phpstub-0.5? >> >> Fri Oct 4 18:51:13 2002 [28715] pipe_loop: too many headers MB> One way to check what is going on is to run a patched version of phpstub MB> that dumps its input whenever this condition occurs. I have attached one MB> such patch. There are two possible causes for this error. Either the php MB> program emits so many CGI headers that it overflows phpstub's internal MB> buffer size (not likely) or the php program simply does not emit any CGI MB> headers at all, which is illegal. If you run the patched version and then MB> inspect the ChildLog it will become apparent which of the two it is. You're right, it doesn't send any headers. I'll have to look into why... -Tomas