]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: introduce a new receive flag: CO_RFL_READ_ONCE
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Feb 2020 10:04:40 +0000 (11:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Feb 2020 10:22:45 +0000 (11:22 +0100)
commit716bec2dc6f9784200c9c785bd0880d33bf75e8d
tree5c299bbd4724c7032a80aef54ca3fe803a6414db
parent5d4d1806dba56f39ebae5944972ab2fd2440b7e2
MINOR: connection: introduce a new receive flag: CO_RFL_READ_ONCE

This flag is currently supported by raw_sock to perform a single recv()
attempt and avoid subscribing. Typically on the request and response
paths with keep-alive, with short messages we know that it's very likely
that the first message is enough.
include/types/connection.h
src/raw_sock.c