mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
A new structure quic_tune has recently been defined. Its purpose is to store global options related to QUIC. Previously, only the tunable to toggle pacing was stored in it. This commit moves several QUIC related tunable from global to quic_tune structure. This better centralizes QUIC configuration option and gives room for future generic options.
21 lines
410 B
C
21 lines
410 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
|
|
#define QUIC_TUNE_NO_UDP_GSO 0x00000002
|
|
#define QUIC_TUNE_SOCK_PER_CONN 0x00000004
|
|
#define QUIC_TUNE_CC_HYSTART 0x00000008
|
|
|
|
struct quic_tune {
|
|
uint options;
|
|
};
|
|
|
|
#endif /* USE_QUIC */
|
|
|
|
#endif /* _HAPROXY_QUIC_TUNE_T_H */
|