commit | 716bec2dc6f9784200c9c785bd0880d33bf75e8d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Feb 20 11:04:40 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 21 11:22:45 2020 +0100 |
tree | 5c299bbd4724c7032a80aef54ca3fe803a6414db | |
parent | 5d4d1806dba56f39ebae5944972ab2fd2440b7e2 [diff] |
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.