You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One issue I've noticed so far: If the connection gets disconnected for some reason just before a CTCPServer::Send call, then Send will result in a SIGPIPE under Linux, aborting the program.
Instead, this should be handled gracefully (ex Send should return an error).
The text was updated successfully, but these errors were encountered:
Thanks for that. Yea, for the send call, I ended up changing the flags passed to MSG_NOSIGNAL (I think recv needs the same). IMO this be the default for this lib, but I'll let you decide. :)
First, thanks for this project. Quite useful.
One issue I've noticed so far: If the connection gets disconnected for some reason just before a
CTCPServer::Send
call, thenSend
will result in a SIGPIPE under Linux, aborting the program.Instead, this should be handled gracefully (ex
Send
should return an error).The text was updated successfully, but these errors were encountered: