commit | 7fc1c6eefb7f3b64dee8f3a4a31e3b7f5a65dc2e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 26 11:03:17 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 08 20:57:18 2012 +0200 |
tree | fe93f0d7aed9aed3bd137275828a98a7c15a85c4 | |
parent | 82ea800b0fb2e7dd3d498c4973aa7eef364f208c [diff] |
MINOR: stick_table: centralize the handling of empty keys Right now, it's up to each pattern fetch method to return NULL when an empty string is returned, which is neither correct nor desirable as it is only stick tables which need to ignore empty patterns. Let's perform this check in stktable_fetch_key() instead.