MINOR: proto_htx: Directly call htx_check_response_for_cacheability()

Instead of using the HTTP legacy version.
This commit is contained in:
Christopher Faulet 2019-07-15 22:26:28 +02:00
parent 4d0e263079
commit 75b4cd967d

View File

@ -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