]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http: add-header should not emit "-" for empty fields
authorWilly Tarreau <w@1wt.eu>
Sun, 24 Mar 2013 06:33:22 +0000 (07:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 24 Mar 2013 06:33:22 +0000 (07:33 +0100)
commit3bfeadb3f6d0cdb924847a98669f8e908a224169
treeb3b7d481a3cae5193da516a1c3a8f0f9b3f9db41
parentdad36a3ee3289b55787c4c8003cd968e8a9b9c51
BUG/MEDIUM: http: add-header should not emit "-" for empty fields

Patch 6cbbdbf3 fixed the missing "-" delimitors in logs but it caused
them to be emitted with "http-request add-header", eventhough it was
correctly fixed for the unique-id format. Fix this by simply removing
LOG_OPT_MANDATORY in this case.
src/proto_http.c