forked from grpc/grpc-java
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emulate AbstractManagedChannelImplBuilder maxInboundMessageSize(int)
In dbd903c we started generatating AbstractManagedChannelImplBuilder methods in a way that they are present for ABI but on recompilation only public ManagedChannelBuilder-returning methods would be used. However, this sorta missed maxInboundMessageSize which is now being handled by the concrete classes (e.g, NettyChannelBuilder) instead of ManagedChannelImplBuilder. Users on the old ABI will end up getting ManagedChannelImplBuilder.maxInboundMessageSize() which does nothing. So, let's just implement the method and have it jump back up to the concrete class. Hacky, but easy and predictable and will go away once we remove the rest of the AbstractManagedChannelImplBuilder compatibility hacks. Fixes grpc#8313
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters