MINOR: queue: store the queue index in the stream when enqueuing
authorPatrick Hemmer <haproxy@stormcloud9.net>
Fri, 11 May 2018 16:52:31 +0000 (12:52 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Aug 2018 13:06:25 +0000 (15:06 +0200)
commitda282f4a8f985df16e864058cb3a56b9c0e5f957
treed15d7f208a3b79b96a7d386b7bbc530d7fecf860
parentffe5e8c638c677b630b11eb1babf44dd322112de
MINOR: queue: store the queue index in the stream when enqueuing

We store the queue index in the stream and check it on dequeueing to
figure how many entries were processed in between. This way we'll be
able to count the elements that may later be added before ours.
include/types/proxy.h
include/types/queue.h
include/types/server.h
src/queue.c