mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Add HTTP header if the update check is manually initiated
With the addition of server-side release rate control, having the server know if the update check was manually initiated can allow it to deliver the update to the user even if they would normally not be eligible. Windows only.
This commit is contained in:
parent
cc2d0791ca
commit
edca16d77d
@ -585,6 +585,11 @@ try {
|
||||
extraHeaders.push_back(move(header));
|
||||
}
|
||||
|
||||
/* allow server to know if this was a manual update check in case
|
||||
* we want to allow people to bypass a configured rollout rate */
|
||||
if (manualUpdate)
|
||||
extraHeaders.emplace_back("X-OBS2-ManualUpdate: 1");
|
||||
|
||||
/* ----------------------------------- *
|
||||
* get manifest from server */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user