cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl + c-ares on Android

From: <jonathan.p.richardson_at_nokia.com>
Date: Tue, 16 Apr 2013 18:34:55 +0000

Hi,

I'm using libcurl 7.29.0 on Android with c-ares 1.9.1.

I've been noticing a bug on a Samsung Galaxy S3 & Samsung Galaxy Note 2 (and possibly other devices too) when the bearer switches from wifi to 3G where I can no longer connect to a host.

If I undefine USE_ARES (build without c-ares) then this issue is gone, but I would like to keep c-ares for performance.

Some other (useful?) info:
1) Switching back to the original bearer will allow a connection again
2) I tried performing a curl_global_cleanup() and curl_global_init(CURL_GLOBAL_ALL) during the switch, but it didn't seem to help.

If anyone knows of anything that I can do to continue to use c-ares I would greatly appreciate it!

Thanks,
Jon

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-16