mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-14 14:40:22 +02:00
To improve debugging, extend "show quic" output to report if pacing is activated on a connection. Two values will be displayed for pacing : * a new counter paced_sent_ctr is defined in QCC structure. It will be incremented each time an emission is interrupted due to pacing. * pacing engine now saves the number of datagrams sent in the last paced emission. This will be helpful to ensure burst parameter is valid.
15 lines
435 B
C
15 lines
435 B
C
#ifndef _HAPROXY_QUIC_PACING_T_H
|
|
#define _HAPROXY_QUIC_PACING_T_H
|
|
|
|
#include <haproxy/api-t.h>
|
|
#include <haproxy/quic_cc-t.h>
|
|
|
|
struct quic_pacer {
|
|
const struct quic_cc *cc; /* Congestion controler algo used for this connection */
|
|
ullong next; /* Nanosecond timestamp at which the next emission should be conducted */
|
|
|
|
int last_sent; /* Number of datagrams sent during last paced emission */
|
|
};
|
|
|
|
#endif /* _HAPROXY_QUIC_PACING_T_H */
|