]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: protocol: use a custom AF_MAX to help protocol parser
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 11 Sep 2018 14:51:28 +0000 (16:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 05:12:27 +0000 (07:12 +0200)
commit2d3f8a411f764ec3cfca5e2a31ef682e8144056d
tree14dd22229be4df1d88058e6f66de8d3d5ff2e486
parent5ab33944cd7a978c9a30ee6823bdf58e90c0abdb
MEDIUM: protocol: use a custom AF_MAX to help protocol parser

It's possible to have several protocols per family which is a problem
with the current way the protocols are stored.

This allows to register a new protocol in HAProxy which is not a
protocol in the strict socket definition. It will be used to register a
SOCK_STREAM protocol using socketpair().
include/proto/protocol.h
include/types/protocol.h
src/protocol.c