cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: bugreport: infinite loop in curl_multi_wait

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 24 May 2014 18:49:45 +0200 (CEST)

On Fri, 23 May 2014, Gergely Nagy wrote:

> I just got into a strange infinite loop in curl_multi_wait (version 7.37.0)
> with the "while(data)" loop. data->next points to data (data->prev points to
> data as well), and data->easy_conn = 0, so every time multi_getsock()
> returns 0, and nothing else happens in the cycle.

Gosh, what a terrible bug. I've never seen it happen.

> It happens on Windows, only on rare occasions, when there is a temporary
> loss of the internet connection and then it becomes good again.

Loss as in physical disconnect or what kind of loss do you mean? And this is
done without libcurl caring (I mean it still performs the transfer), right?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-24