]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: add a alt_proto field for server
authorAperence <anthony.doeraene.dev@gmail.com>
Mon, 26 Aug 2024 09:50:25 +0000 (11:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2024 16:53:49 +0000 (18:53 +0200)
commit38618822e1080d0de1d2622cea54e3cecc44c69a
treee7b1fef1eb8c299fedaf130153d5bf3412b6596e
parenta7b04e383a613150d56ebf9f4c51e64bf603c3a2
MINOR: server: add a alt_proto field for server

Add a new field alt_proto to the server structures that
specify if an alternate protocol should be used for this server.

This field can be transparently passed to protocol_lookup to get
an appropriate protocol structure.

This change allows thus to create servers with different protocols,
and not only TCP anymore.
include/haproxy/server-t.h
src/server.c