cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Removing internal dual interface code handling

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Nov 2012 22:25:15 +0100 (CET)

On Wed, 28 Nov 2012, Christian Hägele wrote:

>> if(mcode == CURLM_OK)
>> mcode = curl_multi_perform(multi, &still_running);
>>
>> if(!still_running) {
>
> When curl_multi_wait does not return CURLM_OK you access the uninitialized
> variable 'still_running'. That's always bad...

Oops, thanks. Will fix.

And BTW, I pretty much immediately ran into a problem where the multi
interface doesn't deal with a connection disconnect the same way the easy
interface does and this leads to a test case failure...

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-28