From: Christophe Jaillet Date: Tue, 18 Mar 2014 06:51:49 +0000 (+0000) Subject: Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98595a6c062fac13cebd5addfef64d3fa2c770fd;p=thirdparty%2Fapache%2Fhttpd.git 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@1578759 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index 29c7b6a939b..14035f33e22 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -669,7 +669,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, if (APR_STATUS_IS_TIMEUP(status) && conn->worker->s->ping_timeout_set && conn->worker->s->ping_timeout >= 0) { - apr_table_set(r->notes, "proxy_timedout", "1"); + apr_table_setn(r->notes, "proxy_timedout", "1"); rv = HTTP_GATEWAY_TIME_OUT; } else {