Author: markt
Date: Wed Jun  1 19:29:28 2016
New Revision: 1746492

URL: http://svn.apache.org/viewvc?rev=1746492&view=rev
Log:
Experimental. Remove sync. I can't see why it is needed and I suspect the CI 
tests are failing due to a deadlock caused by the SocketProcessor switching to 
a sync on the socket wrapper.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1746492&r1=1746491&r2=1746492&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Wed Jun  1 
19:29:28 2016
@@ -1269,7 +1269,7 @@ public class NioEndpoint extends Abstrac
 
 
         @Override
-        protected synchronized void doWrite(boolean block) throws IOException {
+        protected void doWrite(boolean block) throws IOException {
             socketBufferHandler.configureWriteBufferForRead();
 
             long writeTimeout = getWriteTimeout();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to