From 6e69b3ceb08d69c93736c451b9bd45029f235cbb Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Tue, 18 Mar 2014 06:54:03 +0000 Subject: [PATCH] Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1578762 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authnz_fcgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aaa/mod_authnz_fcgi.c b/modules/aaa/mod_authnz_fcgi.c index 9f435d2cb6..2eda35d0b0 100644 --- a/modules/aaa/mod_authnz_fcgi.c +++ b/modules/aaa/mod_authnz_fcgi.c @@ -164,7 +164,7 @@ static void setupenv(request_rec *r, const char *password, const char *apache_ro 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, -- 2.40.0