commit | e709e1e7771bdaf1cfa6356ae448e75e614532b1 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Wed May 06 17:23:59 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 19 11:04:11 2020 +0200 |
tree | 8b568e34749b95d6790333a6cfe440e8ee51cd4c | |
parent | bd163817edd3f698ff04441d7eda364dde1a013f [diff] |
MEDIUM: logs: buffer targets now rely on new sink_write Before this path, they rely directly on ring_write bypassing a part of the sink API. Now the maxlen parameter of the log will apply only on the text message part (and not the header, for this you woud prefer to use the maxlen parameter on the sink/ring). sink_write prototype was also reviewed to return the number of Bytes written to be compliant with the other write functions.