NHttp
NHttp copied to clipboard
Move BeginAcceptTcpClient() to top of AcceptTcpClientCallback() to prevent exceptions stopping listen loop
An exception in the body of AcceptTcpClientCallback() will cause the log message Log.Info("Failed to accept TCP client", ex); to be written, after which no further connections will be accepted as BeginAcceptTcpClient() is never called.