mirror of https://github.com/grpc/grpc-java.git
It's hoped that this resolves the "too_many_pings" issue some users are seeing that is worked around by GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false. This change also avoids resetting the ping count for empty data frames (which shouldn't really happen with gRPC). The previous code failed to reset the ping count on HEADERS and WINDOW_UPDATE. The code _appeared_ to have callbacks for WINDOW_UPDATE, but was layered above the Http2Connection so was never called. Thus, this version is much more aggressive then the previous version while also addressing the correctness issue. |
||
|---|---|---|
| .. | ||
| shaded | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||