mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
create session class and refactor js to use it
This commit is contained in:
parent
a282734c13
commit
0a5ace96fb
14 changed files with 359 additions and 192 deletions
|
@ -31,5 +31,4 @@ void tls_socket_set_options(CURL* http_handle, int verbose) {
|
|||
curl_easy_setopt(http_handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
|
||||
curl_easy_setopt(http_handle, CURLOPT_SSL_ENABLE_ALPN, 0L);
|
||||
curl_easy_setopt(http_handle, CURLOPT_VERBOSE, (long) verbose);
|
||||
request_info->prevent_cleanup = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue