]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream: allocate without queuing when retrying
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2024 15:54:03 +0000 (17:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 May 2024 15:18:13 +0000 (17:18 +0200)
commitb5714b45e8da2edecad1a2c5c8d5551d668ef022
tree1b8349a465b16891ee19f59765439ded90c0308c
parentf552f79ba5af048dd36a9520c2143187816ffe42
MEDIUM: stream: allocate without queuing when retrying

Now when trying to allocate the work buffer, we can check if we've been
notified of availability via the buf_wait callback, in which case we
should not consult the queue, or if we're doing a first allocation and
check the queue.
src/stream.c