commit | 7a63abd84f6b662e7daf55e6e3bd680bcab93239 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jun 13 21:48:18 2008 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 20 15:08:04 2008 +0200 |
tree | 4d01919f2d12aeeed257a60ffd1f3d8f18f384da | |
parent | 700898781321388061a39962d4fcc405eb4765be [diff] |
[BUG] log: reported queue position was offed-by-one The reported queue position in the logs was 0 for the first pending request in the queue, which is wrong because it means that one request will have to be completed before the queued one may execute. It caused the undesired side effect that 0/0 was reported when either 0 or 1 request was pending in the queue. Thus, we have to increment the queue size before reporting the value.