mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
remove wolfssl and nghttp2 entirely
This commit is contained in:
parent
c1b78e1d0c
commit
bcda300153
10 changed files with 12 additions and 77 deletions
|
@ -14,7 +14,7 @@ void http_set_options(CURL* http_handle, const char* json_params, const char* bo
|
|||
//some default options
|
||||
curl_easy_setopt(http_handle, CURLOPT_FOLLOWLOCATION, 1);
|
||||
curl_easy_setopt(http_handle, CURLOPT_ACCEPT_ENCODING, "");
|
||||
curl_easy_setopt(http_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
|
||||
curl_easy_setopt(http_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
|
||||
|
||||
//parse json options
|
||||
cJSON* request_json = cJSON_Parse(json_params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue