diff --git a/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java b/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java index 9656c6a70..b24ff8788 100644 --- a/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java +++ b/src/java/org/apache/httpclient/impl/DefaultResponseConsumedWatcher.java @@ -66,7 +66,7 @@ public class DefaultResponseConsumedWatcher public void responseConsumed() { ConnectionReuseStrategy s = new DefaultConnectionReuseStrategy(); - if (!s.keepAlive(this.response)) { + if (!s.keepAlive(this.conn, this.response)) { try { this.conn.close(); } catch (IOException ex) {