kokoye2007 / waitzar

Automatically exported from code.google.com/p/waitzar
Other
0 stars 1 forks source link

Replace URLMon with something gentler on MinGW #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
urlmon.h isn't in mingw yet. Rather than wait for it to be added, we might just 
change the code we use to check the latest version of Wait Zar. After all, 
urlmon was simply the first solution I tried. 

Original issue reported on code.google.com by seth.h...@gmail.com on 13 Jan 2011 at 6:09

GoogleCodeExporter commented 9 years ago
Note that libcurl seems decent. It's fully-featured and stable, but file size 
isn't too much:

*.h total size:  43kb
*.c total size: 620kb
.lib size:       13kb  

Usage is so-so, being a C library. There appears to be a "curlpp" wrapper as 
well, which is nice and STL-ized:
http://curlpp.org/index.php/examples/48-example-01

Anyway, this problem won't be solved today.

Original comment by seth.h...@gmail.com on 13 Jan 2011 at 10:46

GoogleCodeExporter commented 9 years ago
One minor point: libcurl requires OpenSSL. So maybe we should have used that 
for the MD5 code anyway? What if we don't need https sites? 

Original comment by seth.h...@gmail.com on 13 Jan 2011 at 10:48

GoogleCodeExporter commented 9 years ago
Actually, it seems that libcurl builds without SSL by default. 

Original comment by seth.h...@gmail.com on 13 Jan 2011 at 10:49

GoogleCodeExporter commented 9 years ago
Libcurl links in nicely. An extra ~80k EXE size (sigh). Perhaps this is one of 
the features that we'll pull out of WZ and into its own DLL, as "optional" and 
only included with the full install? (congif dir?)

Regardless, it's fixed.

Original comment by seth.h...@gmail.com on 14 Jan 2011 at 1:36