mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 15:34:35 +00:00
BUG/MINOR: 51d: Releases workset back to pool.
The workset is now released correctly when a cache hit occurs. This should be backported to 1.6.
This commit is contained in:
parent
c9dfa24808
commit
6baceb9f64
@ -384,6 +384,7 @@ static int _51d_fetch(const struct arg *args, struct sample *smp, const char *kw
|
||||
lru = lru64_get(_51d_req_hash(args, ws),
|
||||
_51d_lru_tree, (void*)args, 0);
|
||||
if (lru && lru->domain) {
|
||||
fiftyoneDegreesWorksetPoolRelease(global._51degrees.pool, ws);
|
||||
_51d_retrieve_cache_entry(smp, lru);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user