curl-library
Re: Curl_read_plain and test 160
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Oct 2008 23:11:01 +0200 (CEST)
Date: Tue, 7 Oct 2008 23:11:01 +0200 (CEST)
On Tue, 7 Oct 2008, Dan Fandrich wrote:
> Here's a patch that lets all the tests pass on my machine, but still returns
> an error if a retry doesn't work.
It looks fine to me!
> - done = TRUE; /* no more read or write */
> + return CURLE_RECV_ERROR; /* indicate a network problem */
> continue;
That 'continue' could of course get removed as well then.
-- / daniel.haxx.seReceived on 2008-10-07