We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0952fd2 commit 51b10ccCopy full SHA for 51b10cc
src/main/java/com/ning/http/client/providers/netty/timeout/IdleConnectionTimeoutTimerTask.java
@@ -44,7 +44,7 @@ public void run(Timeout timeout) throws Exception {
44
45
long now = millisTime();
46
47
- long currentIdleConnectionTimeoutInstant = idleConnectionTimeout - nettyResponseFuture.getLastTouch();
+ long currentIdleConnectionTimeoutInstant = idleConnectionTimeout + nettyResponseFuture.getLastTouch();
48
long durationBeforeCurrentIdleConnectionTimeout = currentIdleConnectionTimeoutInstant - now;
49
50
if (durationBeforeCurrentIdleConnectionTimeout <= 0L) {
0 commit comments