]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: move the cleanup of flag CO_FL_WAIT_ROOM
authorWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 08:28:45 +0000 (10:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 13:52:41 +0000 (15:52 +0200)
commitbc97cc4fd14972d68e20f6b6031c30b872aeb8e6
treea065e7cbc3b07abf98f61b56c90061bb8e06782a
parent8de70bcb54200ba217447941eeeb4f14ed2d803e
MINOR: connection: move the cleanup of flag CO_FL_WAIT_ROOM

This flag is only used when reading using splicing for now, and is only
set when a pipe full condition is met, so we can simplify its reset
condition in conn_refresh_polling_flags so that it's cleared at the
same time as the other ones, only when the control layer is ready.

This flag could be used more, to mark that a buffer full condition was
met with any receive method in order to simplify polling management.
This should probably be revisited after 1.8.
include/proto/connection.h