From 22695639e13fa58fd00b713f47ddf94903cea590 Mon Sep 17 00:00:00 2001 From: fhanik Date: Sat, 14 Apr 2007 15:02:21 +0000 Subject: [PATCH] oops, didn't mean to make that into the prev commit git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@528819 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/coyote/http11/Http11NioProcessor.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/java/org/apache/coyote/http11/Http11NioProcessor.java b/java/org/apache/coyote/http11/Http11NioProcessor.java index 8bb1ea91c..f9212a9d1 100644 --- a/java/org/apache/coyote/http11/Http11NioProcessor.java +++ b/java/org/apache/coyote/http11/Http11NioProcessor.java @@ -950,14 +950,14 @@ public class Http11NioProcessor implements ActionHook { rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE); -// if (!error && keepAlive && !comet) { -// //we're at a keep alive stage, -// openSocket = true; -// //Add the socket to the poller -// socket.getPoller().add(socket); -// //free up the thread -// break; -// } + if (!error && keepAlive && !comet) { + //we're at a keep alive stage, + openSocket = true; + //Add the socket to the poller + socket.getPoller().add(socket); + //free up the thread + break; + } } rp.setStage(org.apache.coyote.Constants.STAGE_ENDED); -- 2.11.0