Author: markt
Date: Tue Dec  6 12:26:51 2016
New Revision: 1772875

URL: http://svn.apache.org/viewvc?rev=1772875&view=rev
Log:
Remove unnecessary code
ServerSocketChannel does not timeout calls to accept()
(ServerSocket aka BIO does)

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=1772875&r1=1772874&r2=1772875&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Tue Dec  6 
12:26:51 2016
@@ -469,8 +469,6 @@ public class NioEndpoint extends Abstrac
                         countDownConnection();
                         closeSocket(socket);
                     }
-                } catch (SocketTimeoutException sx) {
-                    // Ignore: Normal condition
                 } catch (Throwable t) {
                     ExceptionUtils.handleThrowable(t);
                     log.error(sm.getString("endpoint.accept.fail"), t);



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to