Without flushing this may sit in a kernel buffer and we won't know if the channel is still alive. This is particularly problematic for the TCP connection pool.
I added flushing to the UDP handling as well, but it's less critical there.
I added a write_and_flush to helper, and then use that where needed.
Without flushing this may sit in a kernel buffer and we won't know if the channel is still alive. This is particularly problematic for the TCP connection pool.
I added flushing to the UDP handling as well, but it's less critical there.
I added a
write_and_flush
to helper, and then use that where needed.