-
Bug
-
Resolution: Fixed
-
Major
Not observed but an OOMErr could kill an agent connection as we would not reset the read ops if a throwable happened that was not a RuntimeException (ie any class of Error).
The code should be defensive against this and terminate the connection so it can re-establish rather than being in the hung case.
- is related to
-
JENKINS-28492 The server rejected the connection: *** is already connected to this master. Rejecting this connection.
-
- Resolved
-
- links to
Code changed in jenkins
User: James Nord
Path:
src/main/java/org/jenkinsci/remoting/protocol/impl/NIONetworkLayer.java
http://jenkins-ci.org/commit/remoting/ec9b5c13b879f44c04fa28ee6c8b113a165c9e57
Log:
Be extra defensive about Errors and Exceptions
JENKINS-39835Be even more defensive then against leaving connections dangling.