]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-h2/trace: reformat the "received" messages for better alignment
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 05:29:53 +0000 (07:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 05:39:59 +0000 (07:39 +0200)
commit8fecec28396be9e622ec2a2abc60812b536c8ce8
tree2cb8e636c92aba2d4239ff819f5beca940a77dce
parentc067a3ac8fe910cf8b204c3baa5d41aa5d408b6c
CLEANUP: mux-h2/trace: reformat the "received" messages for better alignment

user-level traces are more readable when visually aligned. This is easily
done by writing "rcvd" instead of "received" to align with "sent" :

  $ socat - /tmp/sock1 <<< "show events buf0"
  [00|h2|0|mux_h2.c:2465] rcvd H2 request  : [1] H2 REQ: GET /?s=10k HTTP/2.0
  [00|h2|0|mux_h2.c:4563] sent H2 response : [1] H2 RES: HTTP/1.1 200
src/mux_h2.c