Skip to content

Commit 2996a21

Browse files
authored
redundant cause when remote peer closed the connection (#107)
1 parent 46d3890 commit 2996a21

File tree

1 file changed

+2
-2
lines changed
  • httpclient-core/src/main/java/esa/httpclient/core/netty

1 file changed

+2
-2
lines changed

httpclient-core/src/main/java/esa/httpclient/core/netty/Utils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ static void handleH1ChannelEx(HandleRegistry registry,
6161
boolean hasLogged = false;
6262
if (cause instanceof ClosedConnectionException) {
6363
if (logger.isDebugEnabled()) {
64-
logger.debug("ClosedConnectionException occurred in connection: {}",
65-
channel, cause);
64+
logger.debug("ClosedConnectionException occurred in connection: {}, maybe server has closed" +
65+
" connection", channel);
6666
}
6767
hasLogged = true;
6868
} else if (cause instanceof IOException) {

0 commit comments

Comments
 (0)