]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream: Remove bogus loop in conn_si_send_proxy
authorTim Duesterhus <tim@bastelstu.be>
Tue, 26 Feb 2019 16:09:51 +0000 (17:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Feb 2019 16:27:04 +0000 (17:27 +0100)
commit36839dc39f57739896e411764e8a67e1ebd83cb8
treefafecf568a0641aefac608a7c09660b7bceb4e1e
parentc7f880ee3bcc89e304d16849124c4806bf82d8cc
CLEANUP: stream: Remove bogus loop in conn_si_send_proxy

The if-statement was converted into a while-loop in
7fe45698f58a53dda9182a5970a2ea4bda9f92fe to handle EINTR.

This special handling was later replaced in
0a03c0f022faf2773995fc8b9d14256c8a306e5a by conn_sock_send.

The while-loop was not changed back and is not unconditionally
exited after one iteration, with no `continue` inside the body.

Replace by an if-statement.
src/stream_interface.c