Detect ports to forward more often

Part of microsoft/vscode-remote-release#4021
This commit is contained in:
Alex Ross
2020-11-19 10:54:19 +01:00
parent 71fce013c9
commit 8374d6a4c7
6 changed files with 36 additions and 109 deletions

View File

@@ -57,12 +57,6 @@ export class ExtHostTunnelService implements IExtHostTunnelService {
async getTunnels(): Promise<vscode.TunnelDescription[]> {
return [];
}
async $findCandidatePorts(): Promise<{ host: string, port: number; detail: string; }[]> {
return [];
}
async $filterCandidates(candidates: { host: string, port: number, detail: string }[]): Promise<boolean[]> {
return candidates.map(() => true);
}
async setTunnelExtensionFunctions(provider: vscode.RemoteAuthorityResolver | undefined): Promise<IDisposable> {
await this._proxy.$tunnelServiceReady();
return { dispose: () => { } };