Timeout is set when socket is created and further changes are handled inside the while loop
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1165234 13f79535-47bb-0310-9956-
ffa450edef68
socketWrapper.setKeepAliveLeft(0);
}
- try {
- socket.getSocket().setSoTimeout(soTimeout);
- } catch (Throwable t) {
- ExceptionUtils.handleThrowable(t);
- log.debug(sm.getString("http11processor.socket.timeout"), t);
- error = true;
- }
-
boolean keptAlive = socketWrapper.isKeptAlive();
while (!error && keepAlive && !endpoint.isPaused()) {