BUG/MEDIUM: stream-int: Check if the conn_stream exist in si_cs_io_cb.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 21 Aug 2018 13:59:43 +0000 (15:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Aug 2018 16:06:54 +0000 (18:06 +0200)
commita6ff03577017848e1246cbca985060fae97f43b3
treef5380fbc0279cc51bfd82eb36a36d5280a68c880
parentabedf5f6c37a4f21cf9c68e1e0f408218eb54a84
BUG/MEDIUM: stream-int: Check if the conn_stream exist in si_cs_io_cb.

It is possible that the conn_stream gets detached from the stream_interface,
and as it subscribed to the wait list, si_cs_io_cb() gets called anyway,
so make sure we have a conn_stream before attempting to send more data.

This is 1.9-specific, no backport is needed.
src/stream_interface.c