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 10820dcc48 Include more info to aid debugging
10820dcc48 is described below
commit 10820dcc4866800cfea023ed538b1a0aedcf7f6c
Author: Mark Thomas <[email protected]>
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 d8183e3e0e..b929715650 100644
--- a/test/org/apache/coyote/http2/Http2TestBase.java
+++ b/test/org/apache/coyote/http2/Http2TestBase.java
@@ -1007,7 +1007,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: [email protected]
For additional commands, e-mail: [email protected]