Browse Source
Prior to this commit, the isClientDisconnectedException() method in DisconnectedClientHelper checked whether the message of the ultimate exception in an exception chain contained one of the phrases "broken pipe" or "connection reset by peer". However, that failed to match if the exception message contained "Connection reset", which is the case for the SocketException thrown by throwConnectionReset() in sun.nio.ch.SocketChannelImpl. This commit therefore replaces the "connection reset by peer" phrase with "connection reset" in order to support all exception messages containing "connection reset". Closes gh-33064pull/33350/head
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue