Merge pull request #2936 from murgatroid99/grpc-js_disable_nagle

grpc-js: Disable Nagle's algorithm
This commit is contained in:
Michael Lumish 2025-04-10 11:06:24 -07:00 committed by GitHub
commit 6f916c9a9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -763,6 +763,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
await secureConnector.waitForReady();
this.trace(addressString + ' secureConnector is ready');
tcpConnection = await this.tcpConnect(address, options);
tcpConnection.setNoDelay();
this.trace(addressString + ' Established TCP connection');
secureConnectResult = await secureConnector.connect(tcpConnection);
this.trace(addressString + ' Established secure connection');