CGI app reports broken pipe error
Hi. I have a custom CGI application writing binary data to stdout. Recently, probably after some upgrade, I begin receiving write errors with the system error Broken pipe. The only way to proceed writing is to discard the data portion I'm trying to write and continue. Can someone advice how to debug this and find the issue? Also, are there any know recent changes (from this year beginning/last year end) which could have caused this? I'm using CentOS 4.4, Apache version 2.0.52. Thanks, Stas.
Re: CGI app reports broken pipe error
On 3/14/07, Stas Oskin [EMAIL PROTECTED] wrote: Hi. I have a custom CGI application writing binary data to stdout. Recently, probably after some upgrade, I begin receiving write errors with the system error Broken pipe. that should mean that the web client disconnected, and your CGI shouldn't keep pumping out data Can someone advice how to debug this and find the issue? Also, are there any know recent changes (from this year beginning/last year end) which could have caused this? prefork MPM and strace -f
Re: CGI app reports broken pipe error
Hi. that should mean that the web client disconnected, and your CGI shouldn't keep pumping out data So the moment the client is gone, and the CGI app attempts to send data, it will receive broken pipe (as there indeed no pipe anymore)? Is this the only reason for the error? prefork MPM and strace -f Thanks, will try them. Regards, Stas.