]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: process_stream: Don't use si_cs_io_cb() in process_stream().
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 14 Sep 2018 17:41:13 +0000 (19:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 26 Sep 2018 12:21:54 +0000 (14:21 +0200)
commit0e367bbb01347567552d2d2fa2e388d4be49e720
treef642972f84267808fc1d17380d863f4da62b8e07
parent9cf4634a2b895bfe92ae47a1e4433aae1aa76065
BUG/MEDIUM: process_stream: Don't use si_cs_io_cb() in process_stream().

Instead of using si_cs_io_cb() in process_stream()  use si_cs_send/si_cs_recv
instead, as si_cs_io_cb() may lead to process_stream being woken up when it
shouldn't be, and thus timeout would never get triggered.
include/proto/stream_interface.h
src/stream.c
src/stream_interface.c