Don't terminate socket server on connection reset (#4282)
This commit is contained in:
committed by
GitHub
parent
c420ad1a16
commit
c7d059a58f
@@ -1045,7 +1045,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
}catch(BindException b){
|
}catch(BindException b){
|
||||||
err("Command input socket already in use. Is another instance of the server running?");
|
err("Command input socket already in use. Is another instance of the server running?");
|
||||||
}catch(IOException e){
|
}catch(IOException e){
|
||||||
if(!e.getMessage().equals("Socket closed")){
|
if(!e.getMessage().equals("Socket closed") && !e.getMessage().equals("Connection reset")){
|
||||||
err("Terminating socket server.");
|
err("Terminating socket server.");
|
||||||
err(e);
|
err(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user