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/02/13 12:26:35 UTC
[tomcat] branch 10.1.x updated: Deprecate deferAccept (it was an APR feature)
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 59134630c2 Deprecate deferAccept (it was an APR feature)
59134630c2 is described below
commit 59134630c21b4bf70dcad70d24ef5ab417d12042
Author: Mark Thomas <ma...@apache.org>
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 bdf94f28ac..e6f2c50c28 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -814,6 +814,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org