mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
move closing-tabs to local config, and add glgetstring to stack check
This commit is contained in:
@@ -139,7 +139,8 @@ class AbModel {
|
||||
"data": jsonEncode({"tags": tags, "peers": peersJsonData})
|
||||
});
|
||||
var request = http.Request('POST', Uri.parse(api));
|
||||
if (licensedDevices > 0) {
|
||||
// support compression
|
||||
if (licensedDevices > 0 && body.length > 1024) {
|
||||
authHeaders['Content-Encoding'] = "gzip";
|
||||
request.bodyBytes = GZipCodec().encode(utf8.encode(body));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user