]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: channel: allocate without queuing when retrying
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2024 15:52:11 +0000 (17:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 May 2024 15:18:13 +0000 (17:18 +0200)
commit5b8d27617f4065f0a20476d6835588ff0fecd408
treefe3a9f8c0c39eeb0e2d8aa4acb6e9dcd9803b89c
parentb5714b45e8da2edecad1a2c5c8d5551d668ef022
MEDIUM: channel: allocate without queuing when retrying

Now when trying to allocate a channel buffer, we can check if we've been
notified of availability via the producer stream connector callback, in
which case we should not consult the queue, or if we're doing a first
allocation and check the queue.
include/haproxy/channel.h