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 3a8e4eb Disable APR async again
3a8e4eb is described below
commit 3a8e4ebc948b3e8fcef4e44571ae5238beac835b
Author: remm <[email protected]>
AuthorDate: Fri May 17 15:42:14 2019 +0200
Disable APR async again
---
java/org/apache/tomcat/util/net/AprEndpoint.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/AprEndpoint.java
b/java/org/apache/tomcat/util/net/AprEndpoint.java
index 9767111..c577257 100644
--- a/java/org/apache/tomcat/util/net/AprEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AprEndpoint.java
@@ -120,9 +120,9 @@ public class AprEndpoint extends
AbstractEndpoint<Long,Long> implements SNICallB
setMaxConnections(8 * 1024);
// Asynchronous IO has significantly lower performance with APR:
// - no IO vectoring
- // - mandatory use of direct buffers causing required output buffering
- // - needs extra output flushes due to the buffering
- //setUseAsyncIO(false);
+ // - mandatory use of direct buffers forces output buffering
+ // - needs extra output flushes due to buffering
+ setUseAsyncIO(false);
}
// ------------------------------------------------------------- Properties
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]