This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit acc9a94f89a1c3a6e6829c0bcb1c732e59df7bf1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Apr 19 17:44:32 2024 +0100 Fix typos --- java/org/apache/tomcat/util/net/AbstractEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java index 53a0b807b3..19edc2f514 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -1192,7 +1192,7 @@ public abstract class AbstractEndpoint<S,U> { } s.setSoTimeout(stmo); // Newer MacOS versions (e.g. Ventura 13.2) appear to linger for ~1s on close when linger is disabled. - // That causes delays when running the unit tests. Explicitly enableing linger but with a timeout of + // That causes delays when running the unit tests. Explicitly enabling linger but with a timeout of // zero seconds seems to fix the issue. s.setSoLinger(true, 0); if (getLog().isTraceEnabled()) { @@ -1216,7 +1216,7 @@ public abstract class AbstractEndpoint<S,U> { getLog().trace("Socket unlock completed for:" + unlockAddress); } } - // Wait for up to 1000ms acceptor threads to unlock. Particularly + // Wait for up to 1000ms for acceptor thread to unlock. Particularly // for the unit tests, we want to exit this loop as quickly as // possible. However, we also don't want to trigger excessive CPU // usage if the unlock takes longer than expected. Therefore, we --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org