Commit 83e407f2 authored by Brian Pane's avatar Brian Pane
Browse files

don't conceal EAGAIN in READBYTES mode

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-read-dev@371218 13f79535-47bb-0310-9956-ffa450edef68
parent dba3cd62
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -240,10 +240,7 @@ int ap_core_input_filter(ap_filter_t *f, apr_bucket_brigade *b,
        e = APR_BRIGADE_FIRST(ctx->b);
        rv = apr_bucket_read(e, &str, &len, block);

        if (APR_STATUS_IS_EAGAIN(rv)) {
            return APR_SUCCESS;
        }
        else if (rv != APR_SUCCESS) {
        if (rv != APR_SUCCESS) {
            return rv;
        }
        else if (block == APR_BLOCK_READ && len == 0) {