adapted to changes in HttpCore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@440075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0af06cd4dd
commit
85e0dcacb1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue