]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ring: count processed messages in ring_dispatch_messages()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 22 Jul 2024 09:17:08 +0000 (11:17 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 24 Jul 2024 15:59:03 +0000 (17:59 +0200)
commit47323e64ada863ef2f2230ccd30dbdce0b559859
treefa2d5e71adf537bf85b94731fea536ff189f1d08
parent0821460e3f7c8212340507c86e193c4bed210789
MINOR: ring: count processed messages in ring_dispatch_messages()

ring_dispatch_messages() now takes an optional argument <processed> which
must point to a size_t counter when provided.

When provided, the value is updated to the number of messages processed
by the function.
include/haproxy/ring.h
src/ring.c
src/sink.c