You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rainer Weikusat <we...@mail.uni-mainz.de> on 2001/03/03 19:29:43 UTC

mod_cgi/7353: Apache being to trigger happy with respect to CGI programs

>Number:         7353
>Category:       mod_cgi
>Synopsis:       Apache being to trigger happy with respect to CGI programs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Mar 03 10:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     weikusat@mail.uni-mainz.de
>Release:        1.3.4
>Organization:
apache
>Environment:
Whatever
>Description:
If a CGI emits a Location:-header on stdout, apache apparently guesses that
this particular program must have finished its work (at least without
persistent connections) and will exit as soon as possible, thereby in turn
terminating the program, which might or might not have had enough time
to dissassociate itself (fork()/ setsid()) from the running httpd-instance.
>How-To-Repeat:

>Fix:
- wait at least until std(in|out|err) are explicitly closed
- document it
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database 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!     ]