]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: trace: change the "payload" level to "data" and move it
authorWilly Tarreau <w@1wt.eu>
Thu, 29 Aug 2019 06:01:48 +0000 (08:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 29 Aug 2019 08:46:11 +0000 (10:46 +0200)
commit2ea549bc4377932b656f2b01f9e92ed022cfba5c
tree444d89709200164d539660f1a1253e0081b92f7a
parentbe5a28842485d1169eb185c4d421ba43d5956ccf
MINOR: trace: change the "payload" level to "data" and move it

The "payload" trace level was ambigous because its initial purpose was
to be able to dump received data. But it doesn't make sense to force to
report data transfers just to be able to report state changes. For
example, all snd_buf()/rcv_buf() operations coming from the application
layer should be tagged at this level. So here we move this payload level
above the state transitions and rename it to avoid the ambiguity making
one think it's only about request/response payload. Now it clearly is
about any data transfer and is thus just below the developer level. The
help messages on the CLI and the doc were slightly reworded to help
remove this ambiguity.
doc/management.txt
include/proto/trace.h
include/types/trace.h
src/trace.c