Author: rhuijben Date: Thu Nov 12 13:22:52 2015 New Revision: 1714040 URL: http://svn.apache.org/viewvc?rev=1714040&view=rev Log: * buckets/response_buckets.c (serf_response_read): Just set length unconditionally as simple fix for handling SERF_ERROR_WAIT_CONN.
Modified: serf/trunk/buckets/response_buckets.c Modified: serf/trunk/buckets/response_buckets.c URL: http://svn.apache.org/viewvc/serf/trunk/buckets/response_buckets.c?rev=1714040&r1=1714039&r2=1714040&view=diff ============================================================================== --- serf/trunk/buckets/response_buckets.c (original) +++ serf/trunk/buckets/response_buckets.c Thu Nov 12 13:22:52 2015 @@ -475,9 +475,7 @@ static apr_status_t serf_response_read(s status = wait_for_body(bucket, ctx); if (status) { /* It's not possible to have read anything yet! */ - if (APR_STATUS_IS_EOF(status) || APR_STATUS_IS_EAGAIN(status)) { - *len = 0; - } + *len = 0; goto fake_eof; }