View | Details | Raw Unified | Return to bug 50394
Collapse All | Expand All

(-)connectors/http11/src/java/org/apache/coyote/http11/InternalAprInputBuffer.java (+3 lines)
Lines 860-865 Link Here
860
            } else {
860
            } else {
861
                if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) {
861
                if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) {
862
                    throw new SocketTimeoutException(sm.getString("iib.failedread"));
862
                    throw new SocketTimeoutException(sm.getString("iib.failedread"));
863
                } else if (nRead == 0) {
864
                    // APR_STATUS_IS_EOF, since native 1.1.22
865
                    return false;
863
                } else {
866
                } else {
864
                    throw new IOException(sm.getString("iib.failedread"));
867
                    throw new IOException(sm.getString("iib.failedread"));
865
                }
868
                }

Return to bug 50394