Lines 794-799
Link Here
|
794 |
} else { |
794 |
} else { |
795 |
if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) { |
795 |
if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) { |
796 |
throw new SocketTimeoutException(sm.getString("iib.failedread")); |
796 |
throw new SocketTimeoutException(sm.getString("iib.failedread")); |
|
|
797 |
} else if (nRead == 0) { |
798 |
// APR_STATUS_IS_EOF, since native 1.1.22 |
799 |
return false; |
797 |
} else { |
800 |
} else { |
798 |
throw new IOException(sm.getString("iib.failedread")); |
801 |
throw new IOException(sm.getString("iib.failedread")); |
799 |
} |
802 |
} |