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 2015/12/01 10:20:22 UTC
svn commit: r1717392 -
/tomcat/trunk/java/org/apache/tomcat/util/net/SocketWrapperBase.java
Author: markt
Date: Tue Dec 1 09:20:22 2015
New Revision: 1717392
URL: http://svn.apache.org/viewvc?rev=1717392&view=rev
Log:
Remove unused code
Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/SocketWrapperBase.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SocketWrapperBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SocketWrapperBase.java?rev=1717392&r1=1717391&r2=1717392&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/SocketWrapperBase.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/SocketWrapperBase.java Tue Dec 1 09:20:22 2015
@@ -63,16 +63,6 @@ public abstract class SocketWrapperBase<
private final Lock blockingStatusReadLock;
private final WriteLock blockingStatusWriteLock;
- /*
- * In normal servlet processing only one thread is allowed to access the
- * socket at a time. That is controlled by a lock on the socket for both
- * read and writes). When HTTP upgrade is used, one read thread and one
- * write thread are allowed to access the socket concurrently. In this case
- * the lock on the socket is used for reads and the lock below is used for
- * writes.
- */
- private final Object writeThreadLock = new Object();
-
/**
* The buffers used for communicating with the socket.
*/
@@ -217,7 +207,6 @@ public abstract class SocketWrapperBase<
public WriteLock getBlockingStatusWriteLock() {
return blockingStatusWriteLock;
}
- public Object getWriteThreadLock() { return writeThreadLock; }
public SocketBufferHandler getSocketBufferHandler() { return socketBufferHandler; }
public abstract boolean isReadPending();
public abstract boolean isWritePending();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org