commit | b3d4bca415ab90108b29b232a4ae7a892d4c48ec | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 25 10:59:33 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 26 14:04:23 2019 +0100 |
tree | 43be546d9205aaf9aefe11930ae239abc4d5f1d1 | |
parent | a0df95747184899b289c363d1743e80e93c233d1 [diff] |
BUG/MEDIUM: cache: Get objects from the cache only for GET and HEAD requests Only responses for GET requests are stored in the cache. But there is no check on the method during the lookup. So it is possible to retrieve an object from the cache independently of the method, from the time the key of the object matches. Now, lookups are performed only for GET and HEAD requests. This patch must be backportedi in 1.9.