This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 4285e7aba3 Fix back-port
4285e7aba3 is described below
commit 4285e7aba38246eeb9870dedca335a07dc3f0719
Author: Mark Thomas <[email protected]>
AuthorDate: Fri May 6 16:50:20 2022 +0100
Fix back-port
---
java/org/apache/coyote/http2/Stream.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/java/org/apache/coyote/http2/Stream.java
b/java/org/apache/coyote/http2/Stream.java
index 94585dcf40..28bbb4b702 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -1367,6 +1367,12 @@ class Stream extends AbstractNonZeroStream implements
HeaderEmitter {
return inputFilter.doRead(handler);
}
+ @Deprecated
+ @Override
+ public int doRead(ByteChunk chunk) throws IOException {
+ return inputBuffer.doRead(chunk);
+ }
+
@Override
public int available() {
return inputFilter.available();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]