On Tue, 21 Feb 2012 15:32:50 +0900
Bluezery <[email protected]> wrote:

> Hello,
> 
> Previously discomfitor complained about ecore_con_url' bug. I think
> that It comes from environment differences and relates with timing.
> 
> I found something can be a solution.
> In previous ecore_con_url, if no file descriptors are set, It waits
> forever. libcurl sometimes do not set these!!!! (maybe depend on
> network conditions). This is truly bug and my fault.
> So if no file descriptors are set within some timeouts,
> curl_multi_perform() should be called again.
> So I add timeout check every times after curl_multi_perform() is
> called. curl_multi_timeout() gives how much I should wait  before
> calling curl_multi_perform().
> CURL_MIN_TIMEOUT is minimum values because curl_multi_timeout() can
> give too much waiting. Currently it is 0.1 seconds. It can be tuned.
> 
> And I fixed bugs in "_ecore_con_url_event_url_complete()". It always
> set "e->status" as 0.  It should be 0 when Curl have errors.
> And I removed "_current_fd_set". It was useless.
> 
> I want that discomfitor do not wait in 10 years. :D.  Can you test
> this patch??? CURL_MIN_TIMEOUT can be tuned for your environment.
> 
IT WORKSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to