commit | a12dde04e00330e309aefe7822b8429eb2843944 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Dec 22 18:14:41 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 22 23:26:37 2016 +0100 |
tree | 56e09cbb12f90e67425f6db1982ae4f8f53ee413 | |
parent | 0ff98a4758a511f573e50175992984dc5a3db050 [diff] |
MINOR: tcp-rules: check that the listener exists before updating its counters The tcp rules may be applied to a TCP stream initiated by applets (spoe, lua, peers, later H2). These ones do not necessarily have a valid listener so we must verify the field is not null before updating the stats. For now there's no way to trigger this bug because lua and peers don't have analysers, h2 is not implemented and spoe has a dummy listener. But this threatens to break at any instant.