SocketState.ASYNC_END should no longer reach BIO endpoint
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 17 Jun 2011 22:03:10 +0000 (22:03 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 17 Jun 2011 22:03:10 +0000 (22:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1137049 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/JIoEndpoint.java

index 17a10c1..ec99ebc 100644 (file)
@@ -322,8 +322,7 @@ public class JIoEndpoint extends AbstractEndpoint {
                         } catch (IOException e) {
                             // Ignore
                         }
-                    } else if (state == SocketState.ASYNC_END ||
-                            state == SocketState.OPEN){
+                    } else if (state == SocketState.OPEN){
                         socket.setKeptAlive(true);
                         socket.access();
                         launch = true;