/[Apache-SVN]
ViewVC logotype

Revision 1758083


Jump to revision: Previous Next
Author: covener
Date: Sat Aug 27 23:15:11 2016 UTC (7 years, 8 months ago)
Changed paths: 2
Log Message:
Stash the cgi PID earlier in mod_cgid

In some cases, a 2nd CGI using the same c->id can get into
the mod_cgid handler before cleanups have been run, causing
the new CGI pid to be used by the first CGI's cleanup function.

Instead of stashing c->id in the request processing thread,
just use it before leaving the handler to get the pid.

May indirectly fix PR57771, but it must have a slightly different
cause because stashing the conn_id slightly differently was 
supposed to be sufficient there.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/CHANGES modified , text changed
Directoryhttpd/httpd/trunk/modules/generators/mod_cgid.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26