RE: CURL loops infinitely when cable is pulled out.
Date: Sat, 21 Apr 2007 23:33:39 +0200 (CEST)
On Fri, 20 Apr 2007, Sonia Subramanian wrote:
> One issue with partial download that I fixed:
> 1) This was when I tried to resume download of an already partially
> downloaded file.
Can you please tell us exactly how we can repeat this problem to see it
happen? (As it does without your patch I mean.) I'm not saying it isn't there,
I just want to fully understand what the bug is and I want to add a test case
> I had to add the following lines:
Please post patches done with 'diff -u', it makes the changes both easier to
read and understand as well as to apply to the sources in our ends.
> The other issue is that the infinite loop does not go away. If select
> returns 0 Curl_readwrite is called again and no condition there terminates
> the loop.
select() returns 0 because there was a timeout. It means no socket "action"
happened so why would it terminate the loop?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-04-21