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 1f95a47ab3 Deprecate deferAccept (it was an APR feature)
1f95a47ab3 is described below
commit 1f95a47ab3c2eea4870363c76303f8f4ee0e0663
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Feb 13 12:25:25 2023 +0000
Deprecate deferAccept (it was an APR feature)
---
java/org/apache/tomcat/util/net/AbstractEndpoint.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 86dbf9a98c..d80053a0de 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -973,6 +973,14 @@ public abstract class AbstractEndpoint<S,U> {
public boolean getUseAsyncIO() { return useAsyncIO; }
+ /**
+ * Always returns {@code false}.
+ *
+ * @return Always {@code false}
+ *
+ * @deprecated This code will be removed in Tomcat 11 onwards
+ */
+ @Deprecated
protected boolean getDeferAccept() {
return false;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]