Skip to content

Commit ec23791

Browse files
committed
Align macOS transport default with C# extension
1 parent be8aa38 commit ec23791

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/extension/src/serverLauncher.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@ export class ServerLauncher {
7272
*/
7373
private resolveTransport(transportType: TransportType): 'namedPipe' | 'stdio' {
7474
if (transportType === 'auto') {
75-
// Prefer named pipes on Windows; use stdio on macOS to avoid socket quirks.
76-
if (this.platformInfo.isMacOS()) {
77-
return 'stdio';
78-
}
75+
// Follow C# extension: named pipes on all platforms (Unix domain sockets on macOS/Linux).
7976
return 'namedPipe';
8077
}
8178
return transportType;

0 commit comments

Comments
 (0)