]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: factorize send rate measurement
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 28 Apr 2023 14:46:11 +0000 (16:46 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 28 Apr 2023 14:53:44 +0000 (16:53 +0200)
commitbc0adfa334575d9a24ac3c6c0d1d4ad943a576cc
tree31da28324f5dfdf95338f34d19b76a8b0e3e19c9
parent1bcb695a05bb791d927042e99bb54149b5c2bc67
MINOR: proxy: factorize send rate measurement

Implement a new dedicated function increment_send_rate() which can be
call anywhere new bytes must be accounted for global total sent.
include/haproxy/proxy.h
src/mux_quic.c
src/raw_sock.c