mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 23:01:03 +01:00
MINOR: proto_htx: Directly call htx_check_response_for_cacheability()
Instead of using the HTTP legacy version.
This commit is contained in:
parent
4d0e263079
commit
75b4cd967d
@ -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.
|
* Check for cache-control or pragma headers if required.
|
||||||
*/
|
*/
|
||||||
if ((s->be->options & PR_O_CHK_CACHE) || (s->be->ck_opts & PR_CK_NOC))
|
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
|
* Add server cookie in the response if needed
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user