Skip to content

Commit 98595a6

Browse files
author
Christophe Jaillet
committed
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
1 parent 4017955 commit 98595a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/proxy/mod_proxy_ajp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
669669
if (APR_STATUS_IS_TIMEUP(status) &&
670670
conn->worker->s->ping_timeout_set &&
671671
conn->worker->s->ping_timeout >= 0) {
672-
apr_table_set(r->notes, "proxy_timedout", "1");
672+
apr_table_setn(r->notes, "proxy_timedout", "1");
673673
rv = HTTP_GATEWAY_TIME_OUT;
674674
}
675675
else {

0 commit comments

Comments
 (0)