This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 9df8cae Additional fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=63916 9df8cae is described below commit 9df8caed051dc0934b530309fee2ccf6829d06c3 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Nov 13 15:16:11 2019 +0000 Additional fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=63916 --- test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java index e9e9059..a1a9a4a 100644 --- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java +++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java @@ -313,7 +313,10 @@ public class TestNonBlockingAPI extends TomcatBaseTest { String servletName = NBWriteServlet.class.getName(); Tomcat.addServlet(ctx, servletName, servlet); ctx.addServletMappingDecoded("/", servletName); - tomcat.getConnector().setProperty("socket.txBufSize", "1024"); + // Note: Low values of socket.txBufSize can trigger very poor + // performance. Set it just low enough to ensure that the + // non-blocking write servlet will see isReady() == false + tomcat.getConnector().setProperty("socket.txBufSize", "1048576"); tomcat.start(); SocketFactory factory = SocketFactory.getDefault(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org