mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add doc/*/scripting/builtins/libnetwork.md
This commit is contained in:
parent
ca83dcf9a7
commit
95689b1115
5 changed files with 191 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ public:
|
|||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
|
||||
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, request.followLocation);
|
||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "curl");
|
||||
if (request.maxSize == 0) {
|
||||
curl_easy_setopt(
|
||||
curl, CURLOPT_MAXFILESIZE, std::numeric_limits<long>::max()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue