]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: provide a function to emit a log for a session
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 17:51:10 +0000 (19:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Sep 2018 07:43:41 +0000 (09:43 +0200)
commit53839358566af4c0fc98bf4c5e6f50bd5397e80c
tree0d72da7b7fea284d0065f3d8141367c06dfcd829
parent09bb27cdeaf4fbb0686121fa8ff156a61da35fad
MINOR: log: provide a function to emit a log for a session

The new function sess_log() only needs a session to emit a log. It will
ignore the parts that depend on the stream. It is usable to emit a log
to report early errors in muxes. These ones will typically mention
"<BADREQ>" for the request and 0 for the HTTP status code.
include/proto/log.h
src/log.c