cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Infinite loop when calling curl_multi_cleanup

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 21 Oct 2016 22:22:04 +0200

On Fri, Oct 21, 2016 at 11:13:04AM +0200, Daniel Stenberg wrote:
> I propose this change (see attachment) that "forces" the connections to get
> marked for closure before tryign to do disconnect them, which should fix the
> problems we've now got reported three times.
>
> It isn't really a fix to avoid us ending up in this situation but more how
> to handle it when we do, which is lame but hopefully at least a step toward
> fixing hanging problems for people.
>
> Unless someone objects, I will merge this within a few days.

This fixes my issue with test 1500.

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-21