]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: quic: fix overflow in global tune
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jan 2025 17:01:53 +0000 (18:01 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 30 Jan 2025 17:12:53 +0000 (18:12 +0100)
commitb849ee5fa35b7a909869db1dfd19f450f3172034
treee4d94fddbcb0da05cd0d9e1ee5ee202f2a10f19b
parent09e9c7d5b7a6efb4f7d0e491e2d6f46cf5facda7
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.
include/haproxy/global-t.h
include/haproxy/quic_tune-t.h
src/cfgparse-quic.c
src/cfgparse.c
src/mux_quic.c