cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: CURL loops infinitely when cable is pulled out.

From: Sonia Subramanian <sonia_subramanian_at_symantec.com>
Date: Thu, 19 Apr 2007 10:20:49 -0700

Hi,

I looked through the code for 7.16.2 and wanted to verify the following:

1. We don't have poll() and we probably will use select.
2. On this platform select returns 0 as I verified with 7.15.4
3. In the code that calls it Curl_readwrite is a value of select_res ==0
handled? Is a select_res value of 0 valid? This is being used for
network operations and it seems a little difficult to set an appropriate
timeout value as speeds vary. (The code somehow seems like it might not
and I want to double check. To run it on this environment I have to port
the same to WinCE.) If select_res is 0 and no timeout is specified will
the code error out correctly or will it wait infinitely?

Thanks,
Sonia.

-----Original Message-----
From: Sonia Subramanian
Sent: Wednesday, April 18, 2007 2:32 PM
To: 'libcurl development'
Cc: Charlotte Chang; Robert Spath; Shalu Jain
Subject: RE: CURL loops infinitely when cable is pulled out.

Hi,

This is an unreleased WinCE platform.
When tested on the WinCE emulator it worked fine.
Since I ported the entire library around July of last year I have not
updated any revisions.
The version used is 7.15.4.

Was this particular issue fixed?

Thanks,
Sonia.

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Wednesday, April 18, 2007 2:00 PM
To: libcurl development
Cc: Charlotte Chang; Robert Spath; Shalu Jain
Subject: Re: CURL loops infinitely when cable is pulled out.

On Wed, 18 Apr 2007, Sonia Subramanian wrote:

> I found a situation where CURL gets stuck in an infinite loop.

When you did what using what libcurl version on what operating system?

Is this the bug we fixed in 7.16.1?

-- 
  Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
Received on 2007-04-19