commit | f0dd03745647f91bb4adba1412e51a828cd112bc | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 25 11:08:34 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 26 14:04:23 2019 +0100 |
tree | 5c7e89627109c407331d2fc9b32b83ab57c27f47 | |
parent | b3d4bca415ab90108b29b232a4ae7a892d4c48ec [diff] |
BUG/MINOR: cache/htx: Return only the headers of cached objects to HEAD requests The body of a cached object must not be sent in response to a HEAD request. This works for the legacy HTTP because the parsing is performed by HTTP analyzers _AND_ because the connection is closed at the end of the transaction. So the body is ignored. But the applet send it. For the HTX, the applet must skip the body explicitly. This patch must be backported to 1.9.