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

Reply via email to