mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-16 16:16:44 +00:00
Reduce logging spam from CURL
This commit is contained in:
parent
be7b87797b
commit
fbc1e83ebe
@ -67,7 +67,6 @@ int http_request(const char* url, const char* ppkstr, PHTTP_DATA data) {
|
||||
if (!curl)
|
||||
return GS_FAILED;
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
curl_easy_setopt(curl, CURLOPT_SSLENGINE_DEFAULT, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE,"PEM");
|
||||
curl_easy_setopt(curl, CURLOPT_SSLKEYTYPE, "PEM");
|
||||
@ -103,6 +102,8 @@ int http_request(const char* url, const char* ppkstr, PHTTP_DATA data) {
|
||||
}
|
||||
|
||||
CURLcode res = curl_easy_perform(curl);
|
||||
|
||||
printf("CURL: %s (PPK: '%s') -> %s\n", url, ppkstr ? ppkstr : "<NULL>", curl_easy_strerror(res));
|
||||
|
||||
if (res == CURLE_SSL_PINNEDPUBKEYNOTMATCH) {
|
||||
ret = GS_CERT_MISMATCH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user