fix file transfer hanging if disabled, and add trans

This commit is contained in:
rustdesk
2022-03-22 17:09:45 +08:00
parent 9136b3e3f8
commit 0dd4087408
11 changed files with 41 additions and 13 deletions

View File

@@ -247,7 +247,7 @@ function connecting() {
handler.msgbox = function(type, title, text, hasRetry=false) {
// crash somehow (when input wrong password), even with small time, for example, 1ms
self.timer(30ms, function() { msgbox(type, title, text, null, 180, 500, hasRetry); });
self.timer(60ms, function() { msgbox(type, title, text, null, 180, 500, hasRetry); });
}
var reconnectTimeout = 1000;