tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1358612 - in /tomcat/trunk: java/org/apache/catalina/tribes/transport/bio/BioReceiver.java webapps/docs/config/cluster-receiver.xml
Date Sat, 07 Jul 2012 18:30:50 GMT
Author: markt
Date: Sat Jul  7 18:30:50 2012
New Revision: 1358612

URL: http://svn.apache.org/viewvc?rev=1358612&view=rev
Log:
Further testing shows that this has no affect for BIO for a socket returned via accept()

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/BioReceiver.java
    tomcat/trunk/webapps/docs/config/cluster-receiver.xml

Modified: tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/BioReceiver.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/BioReceiver.java?rev=1358612&r1=1358611&r2=1358612&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/BioReceiver.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/BioReceiver.java Sat Jul  7
18:30:50 2012
@@ -143,7 +143,6 @@ public class BioReceiver extends Receive
             socket.setOOBInline(getOoBInline());
             socket.setReuseAddress(getSoReuseAddress());
             socket.setSoLinger(getSoLingerOn(),getSoLingerTime());
-            socket.setTrafficClass(getSoTrafficClass());
             socket.setSoTimeout(getTimeout());
             ObjectReader reader = new ObjectReader(socket);
             task.serviceSocket(socket,reader);

Modified: tomcat/trunk/webapps/docs/config/cluster-receiver.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/cluster-receiver.xml?rev=1358612&r1=1358611&r2=1358612&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/cluster-receiver.xml (original)
+++ tomcat/trunk/webapps/docs/config/cluster-receiver.xml Sat Jul  7 18:30:50 2012
@@ -142,12 +142,6 @@
     <attribute name="soReuseAddress" required="false">
      Boolean value for the socket SO_REUSEADDR option. Possible values are <code>true</code>
or <code>false</code>.
     </attribute>
-    <attribute name="soTrafficClass" required="false">
-     Sets the traffic class level for the socket, the value is between 0 and 255.
-     Different values are defined in <a href="http://docs.oracle.com/javase/6/docs/api/java/net/Socket.html#setTrafficClass(int)">
-     java.net.Socket#setTrafficClass(int)</a>. Note that this option is ignored
-     for the NioReceiver implementation.
-    </attribute>
     <attribute name="tcpNoDelay" required="false">
      Boolean value for the socket TCP_NODELAY option. Possible values are <code>true</code>
or <code>false</code>.
      The default value is <code>true</code>



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


Mime
View raw message