]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream-int: remove a redundant clearing of the linger_risk flag
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 21:32:27 +0000 (22:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 21:32:27 +0000 (22:32 +0100)
commit1140512f760e17e3fa0393949bc3272b35e45da1
treebaf96b7b2b2edb9dac4bbda7b334fe748fa70771
parent8747b6dbc88f1d9ba0a2b34c0fbe7cacdf4556f1
CLEANUP: stream-int: remove a redundant clearing of the linger_risk flag

In stream_sock_read0(), we used to clear this flag. But the only case
where stream_sock_read0() is called is in reaction with a conn_sock_read0()
event coming from the lower layers, which already clears this flag. So let's
remove this duplicate one and clear one of the few remaining layering
violations in this area.
src/stream_interface.c