[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: [httpcomponents-core] branch 5.1.x updated: Bug fix: HTTP/1.1 must continue message processing as lo
From: olegk () apache ! org
Date: 2022-10-26 13:34:28
Message-ID: 166679126893.1788215.903938863025388986 () gitbox2-he-fi ! apache ! org
[Download RAW message or body]
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 5.1.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
The following commit(s) were added to refs/heads/5.1.x by this push:
new 51fe8a18c Bug fix: HTTP/1.1 must continue message processing as long as \
there is data in the session input buffer 51fe8a18c is described below
commit 51fe8a18ce4b4f99e87563e66cb2b5d010b5aa00
Author: Oleg Kalnichevski <olegk@apache.org>
AuthorDate: Wed Oct 26 14:51:12 2022 +0200
Bug fix: HTTP/1.1 must continue message processing as long as there is data in \
the session input buffer
---
.../org/apache/hc/core5/http/impl/nio/AbstractHttp1StreamDuplexer.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/AbstractHttp1StreamDuplexer.java \
b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/AbstractHttp1StreamDuplexer.java
index 0a241894c..fdf33db45 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/AbstractHttp1StreamDuplexer.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/AbstractHttp1StreamDuplexer.java
@@ -336,9 +336,6 @@ abstract class AbstractHttp1StreamDuplexer<IncomingMessage \
extends HttpMessage, ioSession.setEvent(SelectionKey.OP_READ);
inputEnd();
}
- if (bytesRead == 0) {
- break;
- }
}
} while (inbuf.hasData());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic