Move tunnel features (#140620)

This commit is contained in:
Alex Ross
2022-01-13 12:13:40 +01:00
committed by GitHub
parent 86eb34a268
commit c393048b98
11 changed files with 75 additions and 50 deletions

View File

@@ -692,7 +692,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
}
try {
this._register(await this._extHostTunnelService.setTunnelExtensionFunctions(resolver));
this._register(await this._extHostTunnelService.setTunnelFactory(resolver));
performance.mark(`code/extHost/willResolveAuthority/${authorityPrefix}`);
const result = await resolver.resolve(remoteAuthority, { resolveAttempt });
performance.mark(`code/extHost/didResolveAuthorityOK/${authorityPrefix}`);
@@ -715,7 +715,10 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
value: {
authority,
options,
tunnelInformation: { environmentTunnels: result.environmentTunnels }
tunnelInformation: {
environmentTunnels: result.environmentTunnels,
features: result.tunnelFeatures
}
}
};
} catch (err) {