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 0b00fdb313 Fix typos
0b00fdb313 is described below
commit 0b00fdb3131c17de0051141b7ee4ba2e8632f032
Author: Mark Thomas <[email protected]>
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 bfb90b0127..e53f9e0286 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -1140,7 +1140,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()) {
@@ -1164,7 +1164,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: [email protected]
For additional commands, e-mail: [email protected]