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.

(cherry picked from commit 1d216c7ec1815c510bd3c6a1152cf41f748f93e0)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 75fca43e872ee7ffc038979c4472d4e9f372ea90)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed