Ok. Thanks guys! Yes, confusion between CURLE_UNSUPPORTED_PROTOCOL and CURLM_BAD_HANDLE was a killer. Thanks for pointing that out.
The underlying problem that I found was that I hadn't called curl_multi_init(). That was causing the mulitHandle to act wierd. Rookie mistake. Gee, I sure wish there was a CURLM error code CURLM_YOU_DIDNT_DO_CURL_INIT! ;)
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
