Skip to content

Commit

Permalink
Pass through the right h2 configuration (#1528)
Browse files Browse the repository at this point in the history
Motivation:

The client passed the target window size through max frame size.

Modifications:

Pass through the right configuration.
  • Loading branch information
glbrntt authored Dec 7, 2022
1 parent 7b13c34 commit e49a331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GRPC/ConnectionPool/PooledChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ internal final class PooledChannel: GRPCChannel {
tlsMode: tlsMode,
tlsConfiguration: configuration.transportSecurity.tlsConfiguration,
httpTargetWindowSize: configuration.http2.targetWindowSize,
httpMaxFrameSize: configuration.http2.targetWindowSize,
httpMaxFrameSize: configuration.http2.maxFrameSize,
errorDelegate: configuration.errorDelegate,
debugChannelInitializer: configuration.debugChannelInitializer
)
Expand Down

0 comments on commit e49a331

Please sign in to comment.