mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-04 23:29:42 +00:00
haproxy public development tree
The initial purpose of CSV stats through CLI was to make it easely parsable by scripts. But in some specific cases some error or warning messages strings containing LF were dumped into cells of this CSV. This made some parsing failure on several tools. In addition, if a warning or message contains to successive LF, they will be dumped directly but double LFs tag the end of the response on CLI and the client may consider a truncated response. This patch extends the 'csv_enc_append' and 'csv_enc' functions used to format quoted string content according to RFC with an additionnal parameter to convert multi-lines strings to one line: CRs are skipped, and LFs are replaced with spaces. In addition and optionally, it is also possible to remove resulting trailing spaces. The call of this function to fill strings into stat's CSV output is updated to force this conversion. This patch should be backported on all supported branches (issue was already present in v2.0) |
||
---|---|---|
.github | ||
addons | ||
admin | ||
dev | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
BRANCHES | ||
BSDmakefile | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
SUBVERS | ||
VERDATE | ||
VERSION |
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)