mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-05 06:40:33 -05:00
Add ->get_info() new control layer callback definition to protocol struct to retreive statiscal counters information at transport layer (TCPv4/TCPv6) identified by an integer into a long long int. Move the TCP specific code from get_tcp_info() to the tcp_get_info() control layer function (src/proto_tcp.c) and define it as the ->get_info() callback for TCPv4 and TCPv6. Note that get_tcp_info() is called for several TCP sample fetches. This patch is useful to support some of these sample fetches for QUIC and to keep the code simple and easy to maintain. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||