]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: unique_id: junk in log on empty unique_id
authorWilliam Lallemand <wlallemand@exceliance.fr>
Wed, 28 Aug 2013 13:44:19 +0000 (15:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 31 Aug 2013 06:01:14 +0000 (08:01 +0200)
commit5b7ea3afa18351b2243fac6e9131327ff9d71911
tree0b8212e8c187e8c80734f366959350d56503ef42
parent9f09521f2d2deacfb4b1b10b23eb5525b9941c62
BUG/MEDIUM: unique_id: junk in log on empty unique_id

When a request fail, the unique_id was allocated but not generated.
The string was not initialized and junk was printed in the log with %ID.

This patch changes the behavior of the unique_id. The unique_id is now
generated when a request failed.

This bug was reported by Patrick Hemmer.
src/log.c
src/proto_http.c