httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1529062 - in /httpd/mod_fcgid/trunk: CHANGES-FCGID modules/fcgid/fcgid_pm_win.c
Date Fri, 04 Oct 2013 01:53:35 GMT
Author: trawick
Date: Fri Oct  4 01:53:35 2013
New Revision: 1529062

URL: http://svn.apache.org/r1529062
Log:
Follow up to r1378181 (also related: r1528229):

Windows: Initialize two fields in the fcgid_command structure.
         Accidental autodata values here could prevent finding
         a suitable existing FastCGI process.

Modified:
    httpd/mod_fcgid/trunk/CHANGES-FCGID
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c

Modified: httpd/mod_fcgid/trunk/CHANGES-FCGID
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/CHANGES-FCGID?rev=1529062&r1=1529061&r2=1529062&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/CHANGES-FCGID [utf8] (original)
+++ httpd/mod_fcgid/trunk/CHANGES-FCGID [utf8] Fri Oct  4 01:53:35 2013
@@ -1,7 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with mod_fcgid 2.3.9
 
-  *) Revert fix for PR 53693 (added in 2.3.8 but undocumented).
+  *) Revert fix for PR 53693, added in 2.3.8 but undocumented.  Fix
+     issues with a minor optimization added in 2.3.8.  [Jeff Trawick]
 
 Changes with mod_fcgid 2.3.8
 

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c?rev=1529062&r1=1529061&r2=1529062&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c Fri Oct  4 01:53:35 2013
@@ -142,6 +142,8 @@ void procmgr_init_spawn_cmd(fcgid_comman
     AP_DEBUG_ASSERT(sizeof command->cmdline > strlen(cmd_conf->cmdline));
     apr_cpystrn(command->cmdline, cmd_conf->cmdline, sizeof command->cmdline);
 
+    command->inode = (apr_ino_t) -1;
+    command->deviceid = (dev_t) -1;
     command->uid = (uid_t) - 1;
     command->gid = (gid_t) - 1;
     command->userdir = 0;



Mime
View raw message