]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ring: add new srv statement to support octet counting forward
authorEmeric Brun <ebrun@haproxy.com>
Fri, 29 May 2020 23:42:45 +0000 (01:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 31 May 2020 08:49:43 +0000 (10:49 +0200)
commit975564784fee089d6d03d8e85e93f2bff5d7253b
tree9699c64c7a785ad9ccd69a66e567db54bdeaa85c
parent494c5057034ba7dddb2688da6abd57991b79296a
MEDIUM: ring: add new srv statement to support octet counting forward

log-proto <logproto>
  The "log-proto" specifies the protocol used to forward event messages to
  a server configured in a ring section. Possible values are "legacy"
  and "octet-count" corresponding respectively to "Non-transparent-framing"
  and "Octet counting" in rfc6587. "legacy" is the default.

Notes: a separated io_handler was created to avoid per messages test
and to prepare code to set different log protocols such as
request- response based ones.
doc/configuration.txt
include/types/server.h
src/server.c
src/sink.c