Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Part 1 of many read_with_timeout logic fixes. Stop polluting one
occurance of rv with the boolean result of ReadFile() to increase the legibility of the success/failure of ReadFile. This requires us to defer *nbytes assignment to the function's end. This fix catches additional cases of APR_EOF, as we had not tested this case from the error handling path. So any deferred read of zero bytes previously returned 0 bytes APR_SUCCESS rather than APR_EOF. (This occurs when we wait to discover the owner of the write end closes it without additional data) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@388281 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information