mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-28 11:24:15 +08:00
bypass ssl verification in steam_http when downloading requests
This commit is contained in:
parent
ed1eec0983
commit
d7fb8403d1
@ -308,6 +308,7 @@ void Steam_HTTP::online_http_request(Steam_Http_Request *request, SteamAPICall_t
|
||||
curl_easy_setopt(chttp, CURLOPT_TIMEOUT, request->timeout_sec);
|
||||
curl_easy_setopt(chttp, CURLOPT_NOSIGNAL, 1L);
|
||||
curl_easy_setopt(chttp, CURLOPT_USE_SSL, request->requires_valid_ssl ? CURLUSESSL_TRY : CURLUSESSL_NONE);
|
||||
curl_easy_setopt(chttp, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
|
||||
// post data, or get params
|
||||
std::string post_data{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user