]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: use signed char type for ALPN manipulation
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 3 Mar 2026 08:02:44 +0000 (09:02 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 3 Mar 2026 15:11:58 +0000 (16:11 +0100)
commit58830990d028bdccf22f0e34142cc90bb7a9c153
tree1855ed18093c2cdaa9b72be8494b986247abc13d
parent13c34451632202cde45a44d299c50a37cf0772f3
MINOR: quic: use signed char type for ALPN manipulation

In most of haproxy code, ALPN is used as a signed char pointer. In QUIC
code instead, it is manipulated as unsigned.

Unifies this by using signed type in QUIC code. This allows to remove a
bunch of unnecessary casts.
include/haproxy/quic_conn.h
src/quic_conn.c
src/quic_ssl.c
src/ssl_sock.c