We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14a6be4 commit edd14bcCopy full SHA for edd14bc
transport/control.go
@@ -44,10 +44,10 @@ import (
44
45
const (
46
// The default value of flow control window size in HTTP2 spec.
47
- defaultWindowSize = 65535
+ defaultWindowSize = 65536
48
// The initial window size for flow control.
49
- initialWindowSize = defaultWindowSize // for an RPC
50
- initialConnWindowSize = defaultWindowSize * 16 // for a connection
+ initialWindowSize = defaultWindowSize * 2048 // for an RPC
+ initialConnWindowSize = defaultWindowSize * 16 * 2048 // for a connection
51
infinity = time.Duration(math.MaxInt64)
52
defaultClientKeepaliveTime = infinity
53
defaultClientKeepaliveTimeout = time.Duration(20 * time.Second)
0 commit comments