Http11Processor.java

inputBuffer.parseRequestLine();
                request.setStartTime(System.currentTimeMillis());
                keptAlive = true;
                if (disableUploadTimeout) {
                    socket.setSoTimeout(soTimeout);
                } else {
                    socket.setSoTimeout(timeout);
                }
                inputBuffer.parseHeaders();

Isn't the condition reversed here?
If I set disableUploadTimeout=true, shouldn't we then set the 5min timeout (socket.setSoTimeout(timeout). If I read the code correctly, we do the opposite.

Filip


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to