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 2023/08/09 17:34:16 UTC
[tomcat] branch 8.5.x updated: Add comment to aid understanding
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 2689928f0b Add comment to aid understanding
2689928f0b is described below
commit 2689928f0b9d9cd1ce43bdb39fa7593022a8fa79
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 9 18:33:46 2023 +0100
Add comment to aid understanding
---
java/org/apache/catalina/connector/CoyoteReader.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/org/apache/catalina/connector/CoyoteReader.java b/java/org/apache/catalina/connector/CoyoteReader.java
index 194953cdaf..da6bc3a875 100644
--- a/java/org/apache/catalina/connector/CoyoteReader.java
+++ b/java/org/apache/catalina/connector/CoyoteReader.java
@@ -187,6 +187,7 @@ public class CoyoteReader extends BufferedReader {
pos = 0;
} else {
reset();
+ // No need to check return value. We know there are at least skip characters available.
skip(skip);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org