mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 00:26:56 +00:00
Update moonlight-common-c for full encryption support
This commit is contained in:
parent
56a746b1ae
commit
2e3643235f
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();
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 5de4a5b85a28d8d639482a1a105c3a06eb67a2fd
|
Subproject commit ec171fd7cab4cb8b7eb6416f1ad9ad62e339efb2
|
Loading…
x
Reference in New Issue
Block a user