httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1312054 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
Date Wed, 11 Apr 2012 00:02:09 GMT
Author: trawick
Date: Wed Apr 11 00:02:08 2012
New Revision: 1312054

URL: http://svn.apache.org/viewvc?rev=1312054&view=rev
Log:
validate that FcgidWin32PreventOrphans is not configured in a virtual host
(tweak to r1311569)

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c?rev=1312054&r1=1312053&r2=1312054&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c Wed Apr 11 00:02:08 2012
@@ -775,6 +775,11 @@ const char *set_win32_prevent_process_or
     server_rec *s = cmd->server;
     fcgid_server_conf *config = ap_get_module_config(s->module_config,
                                                      &fcgid_module);
+    const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
+
+    if (err != NULL) {
+        return err;
+    }
 
     if (config->hJobObjectForAutoCleanup == NULL) {
         /* Create Win32 job object to prevent CGI process oprhaning



Mime
View raw message