Skip to content

Commit a8d22dc

Browse files
committed
fix(http2): set default initial window size to 65535 if not specified
1 parent 0e09b9c commit a8d22dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
719719
settings: {
720720
initialWindowSize:
721721
options['grpc-node.flow_control_window'] ??
722-
http2.getDefaultSettings().initialWindowSize,
722+
http2.getDefaultSettings().initialWindowSize ?? 65535,
723723
}
724724
});
725725

0 commit comments

Comments
 (0)