]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: allow the HTTP status code to be logged even in TCP frontends
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Jun 2014 10:21:40 +0000 (12:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Jun 2014 14:32:48 +0000 (16:32 +0200)
commit4bf9963a78f568dac98cd4d2a5a590eb10f7030d
tree2b41c965f7039ebe8dea90a83d9c9cbce4c9c23c
parentbe722a2d646fde63108ab1ef420fd54e58a58cd6
MINOR: log: allow the HTTP status code to be logged even in TCP frontends

Log format is defined in the frontend, and some frontends may be chained to
an HTTP backend. Sometimes it's very convenient to be able to log the HTTP
status code of these HTTP backends. This status is definitely present in
the internal structures, it's just that we used to limit it to be used in
HTTP frontends. So let's simply relax the check to allow it to be used in
TCP frontends as well.
doc/configuration.txt
src/log.c