Compare commits

...

4 Commits

Author SHA1 Message Date
zhaolei
d92540f08a fixed #10726 (#10733) 2025-10-04 11:33:18 +02:00
Seungyong Hong
e76314db6f GH-10749: Widen dragging area when left tab and thin. (#10750) 2025-10-04 11:32:53 +02:00
Eugene
5060344c69 bump russh for pageant fixes 2025-09-24 23:20:36 +02:00
Eugene
d1196a0e2a Revert "disable SSH keepalive by default"
This reverts commit b31c2a5c11.
2025-09-24 23:14:38 +02:00
6 changed files with 9 additions and 8 deletions

View File

@@ -30,7 +30,7 @@
"native-process-working-directory": "^1.0.2", "native-process-working-directory": "^1.0.2",
"npm": "6", "npm": "6",
"rxjs": "^7.5.7", "rxjs": "^7.5.7",
"russh": "0.1.26", "russh": "0.1.27",
"source-map-support": "^0.5.20", "source-map-support": "^0.5.20",
"v8-compile-cache": "^2.3.0", "v8-compile-cache": "^2.3.0",
"yargs": "^17.7.2" "yargs": "^17.7.2"

View File

@@ -3752,10 +3752,10 @@ run-queue@^1.0.0, run-queue@^1.0.3:
dependencies: dependencies:
aproba "^1.1.1" aproba "^1.1.1"
russh@0.1.26: russh@0.1.27:
version "0.1.26" version "0.1.27"
resolved "https://registry.yarnpkg.com/russh/-/russh-0.1.26.tgz#90b266ed629b0c280b56890cb6baee8b7da750a8" resolved "https://registry.yarnpkg.com/russh/-/russh-0.1.27.tgz#61e04a46bbdecbd23e7d89c42f35659fcc7b7108"
integrity sha512-teF607qkjDXcPNjBw9ZVGf8vIezUBRfiwScXtsdHLrCeEpUGbcMMmFsE33C9SI3WnRSUZQuhbyhca2QLc/uHGA== integrity sha512-FMR+iw1203zJcCRFdOBec9O5+Ae8IdFkNb7yyPmG3436dLWr0ZOnCPE94y1jdJnrY13mMi7UGkccReuHUHNCXw==
dependencies: dependencies:
"@napi-rs/cli" "^2.18.3" "@napi-rs/cli" "^2.18.3"

View File

@@ -42,7 +42,7 @@ export abstract class FileTransfer {
} }
isComplete (): boolean { isComplete (): boolean {
return this.completed return this.completed || this.completedBytes >= this.getSize()
} }
isCancelled (): boolean { isCancelled (): boolean {

View File

@@ -68,6 +68,7 @@ $tab-border-radius: 4px;
&>.inset { &>.inset {
opacity: 0; opacity: 0;
width: 100%;
} }
::ng-deep tab-header { ::ng-deep tab-header {

View File

@@ -20,7 +20,7 @@ export class SSHProfilesService extends QuickConnectProfileProvider<SSHProfile>
auth: null, auth: null,
password: null, password: null,
privateKeys: [], privateKeys: [],
keepaliveInterval: null, keepaliveInterval: 5000,
keepaliveCountMax: 10, keepaliveCountMax: 10,
readyTimeout: null, readyTimeout: null,
x11: false, x11: false,

View File

@@ -317,7 +317,7 @@ export class SSHSession {
key: this.profile.options.algorithms?.[SSHAlgorithmType.HOSTKEY]?.filter(x => supportedAlgorithms[SSHAlgorithmType.HOSTKEY].includes(x)), key: this.profile.options.algorithms?.[SSHAlgorithmType.HOSTKEY]?.filter(x => supportedAlgorithms[SSHAlgorithmType.HOSTKEY].includes(x)),
compression: this.profile.options.algorithms?.[SSHAlgorithmType.COMPRESSION]?.filter(x => supportedAlgorithms[SSHAlgorithmType.COMPRESSION].includes(x)), compression: this.profile.options.algorithms?.[SSHAlgorithmType.COMPRESSION]?.filter(x => supportedAlgorithms[SSHAlgorithmType.COMPRESSION].includes(x)),
}, },
keepaliveIntervalSeconds: this.profile.options.keepaliveInterval ? Math.round(this.profile.options.keepaliveInterval / 1000) : undefined, keepaliveIntervalSeconds: Math.round((this.profile.options.keepaliveInterval ?? 15000) / 1000),
keepaliveCountMax: this.profile.options.keepaliveCountMax, keepaliveCountMax: this.profile.options.keepaliveCountMax,
connectionTimeoutSeconds: this.profile.options.readyTimeout ? Math.round(this.profile.options.readyTimeout / 1000) : undefined, connectionTimeoutSeconds: this.profile.options.readyTimeout ? Math.round(this.profile.options.readyTimeout / 1000) : undefined,
}, },