mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
remove emscripten socket file descriptor limit
This commit is contained in:
parent
45b0084c79
commit
a282734c13
6 changed files with 58 additions and 5 deletions
9
client/libcurl/ftp.c
Normal file
9
client/libcurl/ftp.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include "curl/curl.h"
|
||||
|
||||
#include "types.h"
|
||||
#include "util.h"
|
||||
|
||||
void ftp_set_options(CURL* http_handle, const char* url, int no_body) {
|
||||
curl_easy_setopt(http_handle, CURLOPT_NOBODY, (long) no_body);
|
||||
curl_easy_setopt(http_handle, CURLOPT_URL, url);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue