httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1782323 - /httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
Date Thu, 09 Feb 2017 12:58:35 GMT
Author: jim
Date: Thu Feb  9 12:58:35 2017
New Revision: 1782323

URL: http://svn.apache.org/viewvc?rev=1782323&view=rev
Log:
Allow final admin-level fine-tuning

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=1782323&r1=1782322&r2=1782323&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Thu Feb  9 12:58:35 2017
@@ -371,7 +371,6 @@ static apr_status_t send_environment(pro
 
     ap_add_common_vars(r);
     ap_add_cgi_vars(r);
-    fix_cgivars(r, dconf);
 
     if (fpm || apr_table_get(r->notes, "virtual_script")) {
         /*
@@ -395,6 +394,9 @@ static apr_status_t send_environment(pro
 
     /* XXX are there any FastCGI specific env vars we need to send? */
 
+    /* Give admins final option to fine-tune env vars */
+    fix_cgivars(r, dconf);
+
     /* XXX mod_cgi/mod_cgid use ap_create_environment here, which fills in
      *     the TZ value specially.  We could use that, but it would mean
      *     parsing the key/value pairs back OUT of the allocated env array,



Mime
View raw message