You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/04/23 12:13:12 UTC
(tomcat) branch main updated: isReady() should always return true in blocking mode
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org