This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new 25daaaeea8 Include more info to aid debugging 25daaaeea8 is described below commit 25daaaeea839c898a6d55ee7d672020806c2eaad Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Jun 2 17:30:54 2023 +0100 Include more info to aid debugging --- test/org/apache/coyote/http2/Http2TestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/coyote/http2/Http2TestBase.java b/test/org/apache/coyote/http2/Http2TestBase.java index df70095346..2c8ff99c0c 100644 --- a/test/org/apache/coyote/http2/Http2TestBase.java +++ b/test/org/apache/coyote/http2/Http2TestBase.java @@ -1043,7 +1043,7 @@ public abstract class Http2TestBase extends TomcatBaseTest { while (len > 0) { int read = is.read(data, off, len); if (read == -1) { - throw new IOException("End of input stream"); + throw new IOException("End of input stream with [" + len + "] bytes left to read"); } off += read; len -= read; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org