Perhaps belt and suspenders: in handle_read() (both versions!), catch
socket errors from the recv() call and return early in that case.
Showing
Please register or sign in to comment
socket errors from the recv() call and return early in that case.