From: Christopher Faulet Date: Mon, 15 Jul 2019 20:26:28 +0000 (+0200) Subject: MINOR: proto_htx: Directly call htx_check_response_for_cacheability() X-Git-Tag: v2.1-dev2~387 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75b4cd967d9788a82b4819b3d135a0218e099821;p=thirdparty%2Fhaproxy.git MINOR: proto_htx: Directly call htx_check_response_for_cacheability() Instead of using the HTTP legacy version. --- diff --git a/src/proto_htx.c b/src/proto_htx.c index 620f81b756..2fd67f79f0 100644 --- a/src/proto_htx.c +++ b/src/proto_htx.c @@ -1989,7 +1989,7 @@ int htx_process_res_common(struct stream *s, struct channel *rep, int an_bit, st * Check for cache-control or pragma headers if required. */ if ((s->be->options & PR_O_CHK_CACHE) || (s->be->ck_opts & PR_CK_NOC)) - check_response_for_cacheability(s, rep); + htx_check_response_for_cacheability(s, rep); /* * Add server cookie in the response if needed