Attention is currently required from: daniel, laforge, pespin.
Patch set 2:Code-Review +1
3 comments:
File src/stream_srv.c:
Patch Set #2, Line 489: if (OSMO_UNLIKELY(res <= 0)) {
Because that's what osmo_stream_srv_destroy() does already (either through msgb_queue_free() or osmo […]
ah I see, `osmo_iofd_free()` -> `osmo_iofd_close()` -> `osmo_iofd_txqueue_clear()`, a bit different in logic from the lines after `case OSMO_STREAM_MODE_OSMO_FD:` in `stream_srv.c`.
How about logging an info message "Connection is being flushed and closed; will be ignoring any received messages from now on" only once in `osmo_stream_srv_set_flush_and_destroy()` (instead of for every received message after the flag has been set)?
I would upload a small patch for that.
Patch Set #2, Line 496: if (osmo_iofd_txqueue_len(iofd) == 0)
I just noticed that osmo_stream_srv_clear_tx_queue() is not aware of osmo_io. I'll prepare a patch. […]
Done
To view, visit change 34338. To unsubscribe, or for help writing mail filters, visit settings.