>Number: 2910 >Category: os-windows >Synopsis: CGI turns into zombie on NT, Apache 1.3.1 >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Aug 26 12:10:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.1 >Environment: Win NT 4.0, sp3, VC++, Apache 1.3.1 >Description:
Before a CGI finishes sending output (using cout or printf), if user clicks on the STOP botton on the browser (breaks the connection), the CGI will turn into a zombie. My guess is that when the pipe is broken, the CGI is blocked on calls like cout, printf or fprintf(stdout, ...). >How-To-Repeat: Write a simple CGI than print out 50,000 lines. Before it finishes, click STOP button on browser. Use Task Manager to look for the zombie. >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]
