Skip to content

Commit e096ab6

Browse files
committed
Upgrade Netty 3.10.4
1 parent f561e46 commit e096ab6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@
533533
<additionalparam>-Xdoclint:none</additionalparam>
534534
<distMgmtSnapshotsUrl>http://oss.sonatype.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
535535
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
536-
<netty.version>3.10.3.Final</netty.version>
536+
<netty.version>3.10.4.Final</netty.version>
537537
<grizzly.version>2.3.21</grizzly.version>
538538
<maven.compiler.source>1.7</maven.compiler.source>
539539
<maven.compiler.target>1.7</maven.compiler.target>

src/main/java/com/ning/http/client/providers/netty/request/NettyConnectListener.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ private void onFutureFailure(Channel channel, Throwable cause) {
115115
abortChannelPreemption();
116116

117117
boolean canRetry = future.canRetry();
118-
LOGGER.debug("Trying to recover from failing to connect channel {} with a retry value of {} ", channel, canRetry);
118+
if (LOGGER.isDebugEnabled()) {
119+
LOGGER.debug("Trying to recover from failing to connect channel " + channel + " with a retry value of " + canRetry, cause);
120+
}
119121
if (canRetry
120122
&& cause != null
121123
&& (future.getState() != NettyResponseFuture.STATE.NEW || StackTraceInspector.recoverOnDisconnectException(cause))) {

0 commit comments

Comments
 (0)