mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-12-07 10:41:34 +03:00
Add custom HTTP header feature for HTTP proxy
A custom HTTP header can be used to bypass certain restrictions imposed on the network or to avoid speed limitations applied by the QoS.
This commit is contained in:
@ -8988,6 +8988,7 @@ void InRpcInternetSetting(INTERNET_SETTING *t, PACK *p)
|
||||
t->ProxyPort = PackGetInt(p, "ProxyPort");
|
||||
PackGetStr(p, "ProxyUsername", t->ProxyUsername, sizeof(t->ProxyUsername));
|
||||
PackGetStr(p, "ProxyPassword", t->ProxyPassword, sizeof(t->ProxyPassword));
|
||||
PackGetStr(p, "CustomHttpHeader", t->CustomHttpHeader, sizeof(t->CustomHttpHeader));
|
||||
}
|
||||
void OutRpcInternetSetting(PACK *p, INTERNET_SETTING *t)
|
||||
{
|
||||
@ -9002,6 +9003,7 @@ void OutRpcInternetSetting(PACK *p, INTERNET_SETTING *t)
|
||||
PackAddInt(p, "ProxyPort", t->ProxyPort);
|
||||
PackAddStr(p, "ProxyUsername", t->ProxyUsername);
|
||||
PackAddStr(p, "ProxyPassword", t->ProxyPassword);
|
||||
PackAddStr(p, "CustomHttpHeader", t->CustomHttpHeader);
|
||||
}
|
||||
|
||||
// RPC_AZURE_STATUS
|
||||
|
||||
Reference in New Issue
Block a user