]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: Add http-buffer-request option in the waiting entities
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 Oct 2024 13:16:01 +0000 (14:16 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 Oct 2024 19:24:50 +0000 (20:24 +0100)
commit64554a55f483a0fae62e2636aeb029f786a7a8c6
treef51c7fe4c4f8c38a0772b42eea4d683e129fe2c2
parentc64712b0852a8ed8389d21b17bb2a862dc2b4e1b
MINOR: stream: Add http-buffer-request option in the waiting entities

When http-buffer-request option is set on a proxy, the processing will be
paused to wait the full request payload or a full buffer. So it is an entity
that block the processing, just like a rule or a filter that yields. So now,
it is reported as a waiting entity if an error or a timeout occurred.

To do so, an stream entity type is added for this option. There is no
pointer. And "waiting_entity" sample fetch returns the option name.
include/haproxy/stream-t.h
src/http_ana.c
src/stream.c