libcurl and libcurlssl suddanly very slow
BlitzMax Forums/Brucey's Modules/libcurl and libcurlssl suddanly very slow
| ||
I just updated my libcurl and libcurlssl via the SVN and it's really slow now. Running example 1 normally only takes a few MS before I get data back, but when using the newly updated version it easily takes over 30 seconds for any data to be received. |
| ||
Make sure you've rebuilt the modules. For asynchronous DNS lookups it uses a library called c-ares, which was also updated. It's running as expected here on Windows. In the past, there were some issues with the configuration of libcurl/c-ares which would show up as very slow DNS lookups on Windows. I double-checked the settings in SVN, and they all look correct. |
| ||
Are you talking about V1.04? Still works fine here, can't see a speed difference. |
| ||
Hezkore, is it still slow for you? |
| ||
I just tried it out for the first time. Example 8 consistently takes 12 seconds. On my own server, three tests took 11-12 seconds. |
| ||
Apparently this is an ongoing issue, and those open-source clowns can't even be bothered to test on Windows: http://c-ares.haxx.se/mail/c-ares-archive-2014-11/0006.shtml |
| ||
Applying this patch, I was able to fix the problem. Now it takes 0 millisecs: http://c-ares.haxx.se/mail/c-ares-archive-2014-05/0008.shtml Here is the fixed ares_init.c: |
| ||
Thanks ! |
| ||
Thanks, works well under Win 8.1. @Brucey: Will you update your module accordingly? |
| ||
It is available already on github : https://github.com/maxmods/bah.mod The googlecode repository has been End-of-lifed because Google is shutting it down soon. All my stuff is now available on github (which can be accessed via git or svn). |
| ||
Thanks for letting me know. :) This deserves a sticky somewhere! |
| ||
Brucey would it be possible to port over that page from google code that used to tell you what each module did (I know it didn't list them all) and maybe stick it in the github wiki? Sometimes it can be difficult to figure out what each module does by just looking at the name :) |
| ||
Yes, when I can find some time, I will be doing that ;-) |
| ||
Amazing, Thanks :) |