Skip to content

Commit dc78cdf

Browse files
glbrnttpinlin168
authored andcommitted
Pass through the right h2 configuration (grpc#1528)
Motivation: The client passed the target window size through max frame size. Modifications: Pass through the right configuration.
1 parent 4ec7ace commit dc78cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GRPC/ConnectionPool/PooledChannel.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ internal final class PooledChannel: GRPCChannel {
8585
tlsMode: tlsMode,
8686
tlsConfiguration: configuration.transportSecurity.tlsConfiguration,
8787
httpTargetWindowSize: configuration.http2.targetWindowSize,
88-
httpMaxFrameSize: configuration.http2.targetWindowSize,
88+
httpMaxFrameSize: configuration.http2.maxFrameSize,
8989
errorDelegate: configuration.errorDelegate,
9090
debugChannelInitializer: configuration.debugChannelInitializer
9191
)

0 commit comments

Comments
 (0)