fix tls sockets

This commit is contained in:
ading2210 2024-03-12 17:43:59 -04:00
parent 1748ca7dd9
commit 45b0084c79
8 changed files with 29 additions and 25 deletions

View file

@ -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;
}