MINOR: stream-int: Be sure to have a mux to do sends and receives
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Jul 2020 07:26:46 +0000 (09:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Jul 2020 07:39:20 +0000 (09:39 +0200)
commite96993b1f203a14d2ef1eaa70be595c7d5b98643
tree98a9f7c38882a46c050a6c5412085aa3768b89c2
parentb4de4204721fc2fb9a0781efc45b957b76ece065
MINOR: stream-int: Be sure to have a mux to do sends and receives

In si_cs_send() and si_cs_recv(), we explicitly test the connection's mux is
defined to proceed. For si_cs_recv(), it is probably a bit overkill. But
opportunistic sends are possible from the moment the server connection is
created. So it is safer to do this test.

This patch may be backported as far as 1.9 if necessary.
src/stream_interface.c