Attention is currently required from: arehbein.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33196 )
Change subject: stream: Fix endless loop on server on client disconnect ......................................................................
Patch Set 3:
(1 comment)
File src/stream.c:
https://gerrit.osmocom.org/c/libosmo-netif/+/33196/comment/22f18be2_b0682271 PS3, Line 1349: osmo_stream_srv_set_flush_and_destroy(conn); why aren't you simply disabling READ poll flag here if res == 0? Another issue I see is that probably if res < 0, we should destroy the stream even if the tx queue len is not 0, since anyway (checking at the errno) the socket is already dead.