git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@521284
13f79535-47bb-0310-9956-
ffa450edef68
socket.getIOChannel().socket().setSoTimeout((int)soTimeout);
inputBuffer.readTimeout = soTimeout;
}
- if (!inputBuffer.parseRequestLine(keptAlive && (endpoint.getCurrentThreadsBusy() > limit))) {
+ if (!inputBuffer.parseRequestLine(keptAlive && (endpoint.getCurrentThreadsBusy() >= limit))) {
// This means that no data is available right now
// (long keepalive), so that the processor should be recycled
// and the method should return true