From 85e0dcacb16f9119c45cf80955eb77e440975e4b Mon Sep 17 00:00:00 2001 From: Roland Weber Date: Mon, 4 Sep 2006 13:45:52 +0000 Subject: [PATCH] adapted to changes in HttpCore git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@440075 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/httpclient/impl/DefaultResponseConsumedWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {