Commit 23270dff authored by afreyssin's avatar afreyssin
Browse files

Fix a potential issue: when a connection is initiated by a 'bad' component the...

Fix a potential issue: when a connection is initiated by a 'bad' component the incoming socket is not closed, the 'bad' incoming component still waiting.
parent 2049ab0b
......@@ -680,6 +680,8 @@ public class PoolNetwork extends StreamNetwork implements PoolNetworkMBean {
} catch (Exception exc) {
this.logmon.log(BasicLevel.ERROR,
this.getName() + ", bad connection setup", exc);
// Close the incoming connection
sock.close();
}
}
} catch (IOException exc) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment