You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2014/03/18 07:54:03 UTC

svn commit: r1578762 - /httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c

Author: jailletc36
Date: Tue Mar 18 06:54:03 2014
New Revision: 1578762

URL: http://svn.apache.org/r1578762
Log:
Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c?rev=1578762&r1=1578761&r2=1578762&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authnz_fcgi.c Tue Mar 18 06:54:03 2014
@@ -164,7 +164,7 @@ static void setupenv(request_rec *r, con
     apr_table_unset(r->subprocess_env, "HTTP_UPGRADE");
 
     /* Connection hop-by-hop header to prevent the CGI from hanging */
-    apr_table_set(r->subprocess_env, "HTTP_CONNECTION", "close");
+    apr_table_setn(r->subprocess_env, "HTTP_CONNECTION", "close");
 }
 
 static apr_status_t recv_data(const fcgi_provider_conf *conf,