From e2643b38f954cdb325d6a393805732f507505a5d Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Tue, 18 Mar 2014 06:52:08 +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@1578760 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 1c6b00b74e..fbe300122b 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -1306,7 +1306,7 @@ int ap_proxy_http_process_response(apr_pool_t * p, request_rec *r, "error reading status line from remote " "server %s:%d", backend->hostname, backend->port); if (APR_STATUS_IS_TIMEUP(rc)) { - apr_table_set(r->notes, "proxy_timedout", "1"); + apr_table_setn(r->notes, "proxy_timedout", "1"); ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01103) "read timeout"); if (do_100_continue) { return ap_proxyerror(r, HTTP_SERVICE_UNAVAILABLE, "Timeout on 100-Continue"); -- 2.40.0