mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-02-16 02:30:56 +00:00
Update moonlight-common-c for full encryption support
This commit is contained in:
5
http.cpp
5
http.cpp
@@ -132,6 +132,11 @@ void MoonlightInstance::NvHTTPRequest(int32_t /*result*/, int32_t callbackId, pp
|
|||||||
std::string ppkstr = args.Get(1).AsString();
|
std::string ppkstr = args.Get(1).AsString();
|
||||||
bool binaryResponse = args.Get(2).AsBool();
|
bool binaryResponse = args.Get(2).AsBool();
|
||||||
|
|
||||||
|
// For launch/resume requests, append the additional query parameters
|
||||||
|
if (url.find("/launch?") != std::string::npos || url.find("/resume?") != std::string::npos) {
|
||||||
|
url += LiGetLaunchUrlQueryParameters();
|
||||||
|
}
|
||||||
|
|
||||||
PostMessage(pp::Var(url.c_str()));
|
PostMessage(pp::Var(url.c_str()));
|
||||||
|
|
||||||
PHTTP_DATA data = http_create_data();
|
PHTTP_DATA data = http_create_data();
|
||||||
|
|||||||
Submodule moonlight-common-c updated: 5de4a5b85a...ec171fd7ca
Reference in New Issue
Block a user