haproxy/include
William Lallemand f528fff46b MEDIUM: cache: store sha1 for hashing the cache key
The cache was relying on the txn->uri for creating its key, which was a
big problem when there was no log activated.

This patch does a sha1 of the host + uri, and stores it in the txn.
When a object is stored, the eb32node uses the first 32 bits of the hash
as a key, and the whole hash is stored in the cache entry.

During a lookup, the truncated hash is used, and when it matches an
entry we check the real sha1.
2017-11-23 20:20:04 +01:00
..
common MINOR: pools: implement DEBUG_UAF to detect use after free 2017-11-22 19:43:57 +01:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MINOR: ssl: Handle reading early data after writing better. 2017-11-23 19:35:28 +01:00
types MEDIUM: cache: store sha1 for hashing the cache key 2017-11-23 20:20:04 +01:00