mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-03-28 14:56:24 +01:00
bypass ssl verification in steam_http when downloading requests
This commit is contained in:
parent
ed1eec0983
commit
d7fb8403d1
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue