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 6fac3b8b97 Include more info to aid debugging
6fac3b8b97 is described below
commit 6fac3b8b97b0af69bdf899ae1158a2401cc0ad95
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 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: [email protected]
For additional commands, e-mail: [email protected]