This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 74906a5d9e isReady() should always return true in blocking mode 74906a5d9e is described below commit 74906a5d9e2e67c119630ac31bb7f2f2625e91b5 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Apr 23 13:12:04 2024 +0100 isReady() should always return true in blocking mode --- java/org/apache/catalina/connector/InputBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/catalina/connector/InputBuffer.java b/java/org/apache/catalina/connector/InputBuffer.java index db85a3415a..5dcae69de1 100644 --- a/java/org/apache/catalina/connector/InputBuffer.java +++ b/java/org/apache/catalina/connector/InputBuffer.java @@ -243,7 +243,7 @@ public class InputBuffer extends Reader implements ByteChunk.ByteInputChannel, A if (log.isDebugEnabled()) { log.debug(sm.getString("inputBuffer.requiresNonBlocking")); } - return false; + return true; } if (isFinished()) { // If this is a non-container thread, need to trigger a read --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org