commit | 3146a4cde2cff2d28f63402037b284946e75fa03 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jul 26 15:22:33 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 26 15:25:32 2016 +0200 |
tree | 3503bf868b1ebd0f6b7345bc47eda4a7e6e4da9d | |
parent | 22fc3203db3cfab18674578e3245e203291aa53a [diff] |
BUG/MINOR: peers: don't count track-sc multiple times on errors Ruoshan Huang found that the call to session_inc_http_err_ctr() in the recent http-response patch was not a good idea because it also increments counters that are already tracked (eg: http-request track-sc or previous http-response track-sc). Better open-code the update, it's simple.