hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [01/50] [abbrv] httpcomponents-core git commit: Fixed copy-paste bug
Date Tue, 09 May 2017 19:57:53 GMT
Repository: httpcomponents-core
Updated Branches:
  refs/heads/trunk [created] 9c362d4a2


Fixed copy-paste bug

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk@1791941 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/3778bbb1
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/3778bbb1
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/3778bbb1

Branch: refs/heads/trunk
Commit: 3778bbb1b03bdcbb4cd2bf3004b17466ea6c4065
Parents: e8479bb
Author: Oleg Kalnichevski <olegk@apache.org>
Authored: Wed Apr 19 16:39:29 2017 +0000
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Wed Apr 19 16:39:29 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/hc/core5/http/nio/BasicResponseConsumer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/3778bbb1/httpcore5/src/main/java/org/apache/hc/core5/http/nio/BasicResponseConsumer.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/nio/BasicResponseConsumer.java
b/httpcore5/src/main/java/org/apache/hc/core5/http/nio/BasicResponseConsumer.java
index de45123..9ede4b3 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/nio/BasicResponseConsumer.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/nio/BasicResponseConsumer.java
@@ -67,7 +67,7 @@ public class BasicResponseConsumer<T> implements AsyncResponseConsumer<Message<H
                     if (resultCallback != null) {
                         resultCallback.completed(result);
                     }
-                    resultCallback.completed(result);
+                    dataConsumer.releaseResources();
                 }
 
                 @Override


Mime
View raw message