It is hard to find the problems. I cannot reproduce the problem. :( Maybe your test environment and mine are different. Can anyone test this example???
2012/2/18 Michael Blumenkrantz <[email protected]>: > On Sat, 18 Feb 2012 14:45:00 +0900 > Bluezery <[email protected]> wrote: > >> Um... I have tested with libcurl3 (both w & w/o c-ares support ). >> In my log, following both urls seems to be fetched well. >> (1) INF<12191>:ecore_con ecore_con_url.c:1336 _ecore_con_url_data_cb() >> reading from http://www.dreamincode.net/forums/uploads/month >> ly_05_2010/post-380028-12747928967239.jpg.pagespeed.ce.yRppR_j7ae.jpg >> (2) INF<12191>:ecore_con ecore_con_url.c:1336 _ecore_con_url_data_cb() >> reading from http://www.prelovac.com/vladimir/wp-content/upl >> oads/2008/03/example.jpg >> >> There are any differences between my log (previously attached) and >> your debug message? >> >> 2012/2/18 Michael Blumenkrantz <[email protected]>: >> > On Sat, 18 Feb 2012 14:05:54 +0900 >> > Bluezery <[email protected]> wrote: >> > >> >> I have attached a log file of your example code. It do download both urls. >> >> >> >> I think that there are differences between you libcurl and my libcurl >> >> version. My libcurl version is 7.21.6. >> >> >> >> 2012/2/18 Michael Blumenkrantz <[email protected]>: >> >> > On Sat, 18 Feb 2012 13:51:05 +0900 >> >> > Bluezery <[email protected]> wrote: >> >> > >> >> >> I am sorry. But I don't understand that what's meaning of "multiple >> >> >> simultaneous fetches are broken" ... :-( >> >> >> >> >> >> When I have inspected log when testing your example, It fetches both >> >> >> urls simultaneously. >> >> >> Curl multi handler can do simultaneous fetches. >> >> >> >> >> >> 2012/2/18 Michael Blumenkrantz <[email protected]>: >> >> >> > On Sat, 18 Feb 2012 12:16:17 +0900 >> >> >> > Bluezery <[email protected]> wrote: >> >> >> > >> >> >> >> Actually, ecore_con_url_new("http://xxxx") should be used fore one >> >> >> >> url. Also it returns one handler. for this URL. >> >> >> >> >> >> >> >> But, if you need not this handler, you can discard handler after >> >> >> >> ecore_con_url_get() is called. >> >> >> >> >> >> >> >> I have fixed attached examples and it works well. :D >> >> >> >> I think that you did not use ecore_con_url_fd_set() ) and If you >> >> >> >> want >> >> >> >> to download files, you'd better to use ecore_file_download(). >> >> >> >> >> >> >> >> 2012/2/18 Michael Blumenkrantz <[email protected]>: >> >> >> >> > Hi, >> >> >> >> > >> >> >> >> > Attached is a very tiny demo which showcases a pretty huge (imo) >> >> >> >> > bug in ecore-con-url: multiple simultaneous fetches are broken. >> >> >> >> > When more than one curl object is added, only the last one will >> >> >> >> > actually be fetched. >> >> >> > I'm not trying to download to a file, this was just a simple example >> >> >> > that I made which simulates how I found it. >> >> >> > >> >> >> > The bottom line is that this example DID download both urls properly, >> >> >> > but now it doesn't. >> >> >> >> >> >> >> >> >> >> >> > If you use the example that I sent, the first URL is never actually >> >> > fetched. You can verify this by backporting my most recent commit. >> >> >> >> >> >> >> > nope, downgraded to that version and there's no change. >> >> >> > Attached is my log using current svn. In it, only the second URL is fetched. -- BRs, Kim. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
