commit | c7ffa91763de09b9adef197ca3d67395cc411fc2 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue Aug 28 19:37:41 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Aug 28 19:46:45 2018 +0200 |
tree | 367589bbd3d8eef9154e8a7d3a4580ad37dc9312 | |
parent | 4501c3e0992ca03e082cce81e0fff21067a59ddd [diff] |
BUG/MEDIUM: stream_interface: try to call si_cs_send() earlier. Call si_cs_send() at the beginning of si_cs_wake_cb(), instead of from stream_int_notify-), so that if we get a connection error while trying to send, the stream_interface will get SI_FL_ERR, the associated task will be woken up, and the connection will be properly destroyed. No backport needed.