mirror of https://github.com/grpc/grpc-java.git
This change does a few core things, which result in a lot of churn in other parts. It's not as bad as it seems. Core things: 1. AltsProtocolNegotiator is now a shim class, same as ProtocolNegotiators 2. The protocol negotiators are now in the new style, where there is at most 1 negotiation handler in the pipe at a time. 3. TsiHandshakeHandler is rewritten with respect to the above. All errors and buffering are handled by the WBAEH. 4. TsiFrameHandler is only installed once the negotiation is successful, eliminating the state handling. The churn in mainly in GoogleDefaultChannel and the GCE channel, which now reuse the *handlers* rather than the negotiators. This makes it significantly easier to reason about the pipeline state. The tests are also a source of churn, which no long need to check for most buffering and error conditions. |
||
|---|---|---|
| .. | ||
| shaded | ||
| src | ||
| BUILD.bazel | ||
| build.gradle | ||