]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: Disable cache if applet creation fails
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Apr 2022 09:30:43 +0000 (11:30 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Apr 2022 12:14:27 +0000 (14:14 +0200)
commit1d216c7ec1815c510bd3c6a1152cf41f748f93e0
tree0b51e8e3fe59f09639d3049cb6dc6a62b94cea3c
parent02ef0ff0612f2e3b15e8d2442fba2069a0847262
BUG/MINOR: cache: Disable cache if applet creation fails

When we want to serve a resource from the cache, if the applet creation
fails, the "cache-use" action must not yield. Otherwise, the stream will
hang. Instead, we now disable the cache. Thus the request may be served by
the server.

This patch must be backported as far as 1.8.
src/cache.c