commit | 53839358566af4c0fc98bf4c5e6f50bd5397e80c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 05 19:51:10 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 06 09:43:41 2018 +0200 |
tree | 0d72da7b7fea284d0065f3d8141367c06dfcd829 | |
parent | 09bb27cdeaf4fbb0686121fa8ff156a61da35fad [diff] |
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.