inputBuffer.nextRequest();
outputBuffer.nextRequest();
}
-
+
+ rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);
+
// Do sendfile as needed: add socket to sendfile and end
if (sendfileData != null && !error) {
sendfileData.socket = socketRef;
break;
}
}
-
- rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);
}
rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
inputBuffer.nextRequest();
outputBuffer.nextRequest();
}
-
+
+ rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);
+
// Do sendfile as needed: add socket to sendfile and end
if (sendfileData != null && !error) {
((KeyAttachment) socketWrapper).setSendfileData(sendfileData);
(KeyAttachment) socketWrapper, true, true);
break;
}
-
- rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);
}
rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);
outputBuffer.nextRequest();
}
+ rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);
+
// If we don't have a pipe-lined request allow this thread to be
// used by another connection
if (isAsync() || error || inputBuffer.lastValid == 0) {
break;
}
-
- rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE);
}
rp.setStage(org.apache.coyote.Constants.STAGE_ENDED);