at least write the acception we swallow here to the server.log
This commit is contained in:
@@ -186,10 +186,11 @@ namespace OpenRA.Server
|
|||||||
if (!listener.Server.IsBound) return;
|
if (!listener.Server.IsBound) return;
|
||||||
newSocket = listener.AcceptSocket();
|
newSocket = listener.AcceptSocket();
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
/* could have an exception here when listener 'goes away' when calling AcceptConnection! */
|
/* TODO: Could have an exception here when listener 'goes away' when calling AcceptConnection! */
|
||||||
/* alternative would be to use locking but the listener doesnt go away without a reason */
|
/* Alternative would be to use locking but the listener doesnt go away without a reason. */
|
||||||
|
Log.Write("server", "Accepting the connection failed.", e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user