mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 19:50:54 +00: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.
|
||||
*/
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user