--- java/org/apache/coyote/http11/InternalAprInputBuffer.java (revision 1162073) +++ java/org/apache/coyote/http11/InternalAprInputBuffer.java (working copy) @@ -794,6 +794,9 @@ } else { if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) { throw new SocketTimeoutException(sm.getString("iib.failedread")); + } else if (nRead == 0) { + // APR_STATUS_IS_EOF, since native 1.1.22 + return false; } else { throw new IOException(sm.getString("iib.failedread")); }