This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new ebf1518 Switch async IO API default to false ebf1518 is described below commit ebf1518cdd6365811525428ecf5c4b6b6737ba92 Author: remm <r...@apache.org> AuthorDate: Thu Apr 11 16:05:42 2019 +0200 Switch async IO API default to false --- java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +- webapps/docs/changelog.xml | 2 +- webapps/docs/config/http.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java index 682012c..155cabe 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -744,7 +744,7 @@ public abstract class AbstractEndpoint<S,U> { /** * Expose async IO capability. */ - private boolean useAsyncIO = true; + private boolean useAsyncIO = false; public void setUseAsyncIO(boolean useAsyncIO) { this.useAsyncIO = useAsyncIO; } public boolean getUseAsyncIO() { return useAsyncIO; } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index ed2855b..96bd8e3 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -61,7 +61,7 @@ Add asynchronous IO from NIO2 to the NIO connector, with support for the async IO implementations for HTTP/2 and Websockets. The <code>useAsyncIO</code> boolean attribute on the Connector element - allows disabling usage of the asynchronous IO API. (remm) + allows enabling use of the asynchronous IO API. (remm) </add> </changelog> </subsection> diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml index 9e68e39..fe8ba89 100644 --- a/webapps/docs/config/http.xml +++ b/webapps/docs/config/http.xml @@ -762,7 +762,7 @@ <attribute name="useAsyncIO" required="false"> <p>(bool)Use this attribute to enable or disable usage of the - asynchronous IO API. The default value is <code>true</code>.</p> + asynchronous IO API. The default value is <code>false</code>.</p> </attribute> <attribute name="useSendfile" required="false"> @@ -906,7 +906,7 @@ <attribute name="useAsyncIO" required="false"> <p>(bool)Use this attribute to enable or disable usage of the - asynchronous IO API. The default value is <code>true</code>.</p> + asynchronous IO API. The default value is <code>false</code>.</p> </attribute> <attribute name="useSendfile" required="false"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org