BUG/MINOR: protocol: add missing support of dgram unix socket.
authorEmeric Brun <ebrun@haproxy.com>
Thu, 18 Mar 2021 15:52:17 +0000 (16:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Mar 2021 08:24:50 +0000 (09:24 +0100)
commita601d6fded85729d8a820ea558fd128f3b4c7ddf
treeda483d70b58ed5f451d234b7d348f0b7b85cb14f
parent049602fff734664afbf75b5b28b1d9a028ed9f04
BUG/MINOR: protocol: add missing support of dgram unix socket.

The proto "uxdg" (UNIX DGRAM) was not declared, causing an error trying
to put a socket unix on "dgram-bind" into a log-forward section.

This patch introduces the missing "uxdg" protocol by adding proto_uxdg.c
which was fully created based on the code available for the other
protocols.

This patch should be backported to version 2.3 and above.

(cherry picked from commit 8af3bb0abf1b808fde2c944d768431377e6a1526)
Signed-off-by: Willy Tarreau <w@1wt.eu>
Makefile
src/proto_uxdg.c [new file with mode: 0644]