haproxy/include/haproxy/quic_tune-t.h
Amaury Denoyelle b849ee5fa3 BUILD: quic: fix overflow in global tune
A new global option was recently introduced to disable pacing. However,
the value used (1<<31) caused issue with some compiler as options field
used for storage is declared as int. Move pacing deactivation flag
outside into the newly defined quic_tune to fix this.

This should be backported up to 3.1 after a period of observation. Note
that it relied on the previous patch which defined new quic_tune type.
2025-01-30 18:12:53 +01:00

18 lines
281 B
C

#ifndef _HAPROXY_QUIC_TUNE_T_H
#define _HAPROXY_QUIC_TUNE_T_H
#ifdef USE_QUIC
#ifndef USE_OPENSSL
#error "Must define USE_OPENSSL"
#endif
#define QUIC_TUNE_NO_PACING 0x00000001
struct quic_tune {
uint options;
};
#endif /* USE_QUIC */
#endif /* _HAPROXY_QUIC_TUNE_T_H */