Is curl API that good? It looks a little weird to me, for example, you need to set URL as an "option", and it is not "optional" despite the name. Wouldn't it be better to pass URL and method to "curl_easy_perform" function?<p>Furthermore, it seems to use "set option" function with magic values to control in-memory cookie storage which is even weirder: <a href="https://curl.se/libcurl/c/CURLOPT_COOKIELIST.html" rel="nofollow">https://curl.se/libcurl/c/CURLOPT_COOKIELIST.html</a><p>Also, curl seems to have no built-in function to save data? The user has to implement write callback themselves?<p>Also, regarding options, curl uses a single function for setting options of different types (numbers, booleans, strings) so typing for an option value cannot be used. Is that a good idea? What C developers usually use in such cases?
I believe CURL is built into Unreal as the HTTP library of choice for desktop platforms. Just to add to the mindboggling number of games that may rely on it.
This post (just thinking of use of Unix tools within game software) reminds me of that bug a few years back within steam itself that accidentally deleted user’s root directories<p><a href="https://youtu.be/qzZLvw2AdvM?si=F-Aq9Ha_GKEZH006" rel="nofollow">https://youtu.be/qzZLvw2AdvM?si=F-Aq9Ha_GKEZH006</a>
Now check OpenSSL.<p>Ubiquity does not always equate to quality, sadly.<p>But curl is better than anything you could reasonably develop yourself in C++.