forked from enlightenment/efl
ecore: properly reschedule call to curl.
SVN revision: 77524
This commit is contained in:
parent
52e4090f92
commit
d308248e4c
|
@ -985,3 +985,7 @@
|
|||
2012-10-04 Sebastian Dransfeld
|
||||
|
||||
* Expose ecore_x_selection_converter_text
|
||||
|
||||
2012-10-05 Cedric Bail
|
||||
|
||||
* Properly reschedule call to curl.
|
||||
|
|
|
@ -20,6 +20,7 @@ Fixes:
|
|||
* ecore_con_url:
|
||||
- Timeouts are handled correctly now (passing HTTP status 408 to
|
||||
completion callback).
|
||||
- properly reschedule call to curl.
|
||||
* ecore_evas rotation handling on some driver implementations
|
||||
* ecore_file_escape_name() escape taba nd newline right.
|
||||
* ecore_imf ibus module potential segv fixed.
|
||||
|
|
|
@ -1540,8 +1540,15 @@ static Eina_Bool
|
|||
_ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
|
||||
{
|
||||
Ecore_Fd_Handler *fdh;
|
||||
long ms;
|
||||
|
||||
EINA_LIST_FREE(_fd_hd_list, fdh) ecore_main_fd_handler_del(fdh);
|
||||
ecore_timer_interval_set(_curl_timer, 0.1);
|
||||
|
||||
curl_multi_timeout(_curlm, &ms);
|
||||
if (ms >= CURL_MIN_TIMEOUT || ms <= 0) ms = CURL_MIN_TIMEOUT;
|
||||
|
||||
ecore_timer_interval_set(_curl_timer, (double)ms / 1000);
|
||||
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue