[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: httpcomponents-core git commit: Comment empty block.
From: ggregory () apache ! org
Date: 2018-07-31 3:33:00
Message-ID: 822c272ee3c24238b08c65bcaf3f0542 () git ! apache ! org
[Download RAW message or body]
Repository: httpcomponents-core
Updated Branches:
refs/heads/master 642580c98 -> b097c0f38
Comment empty block.
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/b097c0f3
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/b097c0f3
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/b097c0f3
Branch: refs/heads/master
Commit: b097c0f38bbb3771da344833c7c1b878c5b78102
Parents: 642580c
Author: Gary Gregory <ggregory@apache.org>
Authored: Mon Jul 30 21:32:56 2018 -0600
Committer: Gary Gregory <ggregory@apache.org>
Committed: Mon Jul 30 21:32:56 2018 -0600
----------------------------------------------------------------------
.../org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/b097c0f3/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java \
b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
index b2edb15..c6c7194 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/io/ContentLengthInputStream.java
@@ -99,6 +99,7 @@ public class ContentLengthInputStream extends InputStream {
if (pos < contentLength) {
final byte[] buffer = new byte[BUFFER_SIZE];
while (read(buffer) >= 0) {
+ // keep reading
}
}
} finally {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic