mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
fix tls sockets
This commit is contained in:
parent
1748ca7dd9
commit
45b0084c79
8 changed files with 29 additions and 25 deletions
|
@ -38,7 +38,7 @@ void close_websocket(CURL* http_handle) {
|
|||
}
|
||||
|
||||
void websocket_set_options(CURL* http_handle) {
|
||||
struct RequestInfo *request_info = get_handle_info(http_handle);
|
||||
struct RequestInfo *request_info = get_request_info(http_handle);
|
||||
curl_easy_setopt(http_handle, CURLOPT_CONNECT_ONLY, 2L);
|
||||
request_info->prevent_cleanup = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue