commit | 7704b1e89a202c5b09d89fbc50f042a18113a839 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 22 16:32:43 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 22 17:56:17 2017 +0100 |
tree | fbed9b414727acc1b769f7e02907d2e3d11c468b | |
parent | 0ad8e0dfeaad3fe64890b6cbdcff23f1b123d5a1 [diff] |
BUG/MEDIUM: cache: do not try to retrieve host-less requests from the cache All HTTP/1.1 requests the Host header share the same hash key 0 and will be return the first cached object. Let's add the check on the call to sha1_hosturi() to prevent this from happening. This must be backported to 1.8.