MINOR: sink: Remove the tests on the opposite SC state to process messages
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 31 Mar 2023 09:24:48 +0000 (11:24 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:57:06 +0000 (08:57 +0200)
commit4b866959d83f79eb4c3afe45d4ce5e09c65e5cc6
tree935821679a49c3d497d45ebeef88a171c193c27f
parent3d949010bcfec59c66c35643132bdce9641cb4ec
MINOR: sink: Remove the tests on the opposite SC state to process messages

The state of the opposite SC is already tested to wait the connection is
established before sending messages. So, there is no reason to test it again
before looping on the ring buffer.
src/sink.c