grpc-java/okhttp
chrisschek bf2a66c8a2
okhttp: fix incorrect connection-level flow control handling at beginning of connection
Specifically, this addresses bugs that occur when the `OkHttpChannelBuilder.flowControlWindow(int)` setting is increased from its default value.

Two changes:
1. On starting a connection, ensure the value of `OkHttpChannelBuilder.flowControlWindow(int)` is sent via Settings.INITIAL_WINDOW_SIZE. Also send a WINDOW_UPDATE after Settings to update the connection-level window.
2. Always initialize the `OutboundFlowController` with an initialWindowSize of 65335 bytes per the [http2 spec](https://http2.github.io/http2-spec/#InitialWindowSize) instead of using the inbound window size.

Fixes #6685
2020-02-27 12:34:23 -08:00
..
src okhttp: fix incorrect connection-level flow control handling at beginning of connection 2020-02-27 12:34:23 -08:00
third_party/okhttp netty: remove 'grpc-exp' from the list of next-protocol-versions in ALPN (#6592) 2020-01-09 16:41:20 -08:00
BUILD.bazel Upgrade error_prone_annotations to 2.3.4 2020-01-03 14:50:34 -08:00
build.gradle build: Replaced outdated comments (#6492) 2019-12-05 13:53:51 -08:00