]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: use zero as the request counter if there is no stream
authorWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 13:52:59 +0000 (15:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 Sep 2018 18:01:23 +0000 (20:01 +0200)
commit5cacab63e15e6932d39292b0821897aefca09cc6
tree4d7139d55942578ace78c02bd2e2c1a99c094583
parentb8bc52522c751c4d9f51ae5cd3049d02c488cbcc
MINOR: log: use zero as the request counter if there is no stream

When s==NULL we don't have any assigned request counter. Ideally we
should proceed exactly like when a stream is initialized and assign
a unique value. For now we only place it into a local variable.
src/log.c