BUG/MINOR: proto_http: properly reset the stream's call rate on keep-alive
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Apr 2019 16:33:37 +0000 (18:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Apr 2019 16:33:37 +0000 (18:33 +0200)
commit5e370daa52c3f0ae788a1fed8e805b4731943216
tree02f609a17489a3514aa87b60b46b1d53f60c97d8
parentd5ec4bfe8591ffaf5f28311c81f66e011485625c
BUG/MINOR: proto_http: properly reset the stream's call rate on keep-alive

The stream's call rate measurement was added by commit 2e9c1d296 ("MINOR:
stream: measure and report a stream's call rate in "show sess"") but it
forgot to reset it in case of HTTP keep-alive (legacy mode), resulting
in incorrect measurements.

No backport is needed, unless the patch above is backported.
src/proto_http.c