commit | 5e6a5b3a6e65bb49ee3220070f1754e9b743c600 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 25 18:35:49 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 25 18:35:49 2019 +0200 |
tree | 95a78912ac6891c3587c515b68875ef813fd1e06 | |
parent | 5e370daa52c3f0ae788a1fed8e805b4731943216 [diff] |
MINOR: connection: make the debugging helper functions safer We have various functions like conn_get_ctrl_name() to retrieve some information reported in "show sess" for debugging, which assume that the connection is valid. This is really not convenient in code aimed at debugging and is error-prone. Let's add a validity test first.