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
Is your feature request related to a problem? Please describe.
Perhaps I'm missing something, but when there are connection attempts after the TCPServer::stop(), the connections continue to be accepted, without a way to prevent those connections to be established and run its course.
Describe the solution you'd like
Close the socket on stop, set _stopped to true, and ignore the exceptions in run() after that.
add stop() to TCPServerConnectionFactory and allow it to return nullptr, in which case any accepted socket after TCPServer stop will die on their own