From 75b4cd967d9788a82b4819b3d135a0218e099821 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 15 Jul 2019 22:26:28 +0200 Subject: [PATCH] MINOR: proto_htx: Directly call htx_check_response_for_cacheability() Instead of using the HTTP legacy version. --- src/proto_htx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3