commit | 39c9ba72a7fdf3ecf11454f895c84befa0509b97 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 01 21:11:15 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 01 21:11:15 2009 +0200 |
tree | 6cf7ab9d33501918c7e518fbce5f94fe6c2695b1 | |
parent | f89c1873f8a144e67403e402cf24879a9527978d [diff] |
[MINOR] lb_map: reorder code in order to ease integration of new hash functions We need to remove hash map accesses out of backend.c if we want to later support new hash methods. This patch separates the hash computation method from the server lookup. It leaves the lookup function to lb_map.c and calls it with the result of the hash.