]> git.kaiwu.me - haproxy.git/commit
CLEANUP: backend: drop checks for OBJ_TYPE_PROXY in connect() code
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Jun 2026 09:07:11 +0000 (11:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Jun 2026 09:09:34 +0000 (11:09 +0200)
commit7adf94cfe19374043d2c9bddc18a5643e4d1bcb9
tree3614f1a78bd74e713bac19e05076387a401d327c
parent6864526d05cac65938a07bfbeff18aa022f34120
CLEANUP: backend: drop checks for OBJ_TYPE_PROXY in connect() code

In tcp_connect_server(), uxst_connect_server(), and quic_connect_server(),
we can no longer see obj_type(conn->target) == OBJ_TYPE_PROXY so let's
drop that code. This implies that srv may no longer be NULL so we can
drop these checks as well.
src/proto_quic.c
src/proto_tcp.c
src/proto_uxst.c