mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
Add ->inc_err_cnt new callback to qcc_app_ops struct which can be called from xprt to increment the application level error code counters. It take the application context as first parameter to be generic and support new QUIC applications to come. Add h3_stats.c module with counters for all the frame types and error codes.
18 lines
360 B
C
18 lines
360 B
C
#ifndef _HAPROXY_H3_STATS_H
|
|
#define _HAPROXY_H3_STATS_H
|
|
|
|
#ifdef USE_QUIC
|
|
#ifndef USE_OPENSSL
|
|
#error "Must define USE_OPENSSL"
|
|
#endif
|
|
|
|
#include <haproxy/h3_stats-t.h>
|
|
|
|
struct h3_counters;
|
|
|
|
void h3_inc_err_cnt(void *ctx, int error_code);
|
|
void h3_inc_frame_type_cnt(struct h3_counters *ctrs, int frm_type);
|
|
|
|
#endif /* USE_QUIC */
|
|
#endif /* _HAPROXY_H3_STATS_H */
|