curl usage better accounts for timeouts
authorzmike <michael.blumenkrantz@gmail.com>
Sat, 3 Jan 2015 04:21:34 +0000 (23:21 -0500)
committerzmike <michael.blumenkrantz@gmail.com>
Sat, 3 Jan 2015 04:21:55 +0000 (23:21 -0500)
commitf55c756c17b9567a643c7f779c65433f3c6eb9ca
tree6f0d774c9a9402da1e60d7aa26a4c291d72e682f
parenta68ded6ab63deb3e7a632693840ad31473bf87f2
curl usage better accounts for timeouts

curl is dumb. it needs to poll its own fd for data, it gets confused with its own timeouts, and sometimes it forgets that it's supposed to be doing anything.

this fixes:

* connection timeout processing
* connection data processing order

also curl_multi_timeout calls are now done from a single function to handle all of this stupidness in one place

maybe backport after more testing...
src/lib/ecore_con/ecore_con_url.c