-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thrift: refactor build files and imports (#4271)
Refactors build dependencies and imports to make inter-protocol dependencies easier. Moves the auto-detecting protocol and transports to better-named files. Splits DecoderEventHandler out of DecoderFilter to allow most implementors to exclude some filter-specific functions that are not required for Thrift decoding. Provides an implmentation of DecoderEventHandler that delegates to another implementation. Generally cleans up some #include directives. The impetus for this change becomes apparent when introducing a new protocol that directly responds to a downstream in order to negotiate protocol options. Risk Level: low, no code changes Testing: existing tests Docs Changes: n/a Release Notes: n/a Signed-off-by: Stephan Zuercher <[email protected]>
- Loading branch information
Showing
34 changed files
with
782 additions
and
651 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
2 changes: 1 addition & 1 deletion
2
...ers/network/thrift_proxy/protocol_impl.cc → ...etwork/thrift_proxy/auto_protocol_impl.cc
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...rs/network/thrift_proxy/transport_impl.cc → ...twork/thrift_proxy/auto_transport_impl.cc
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
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
Oops, something went wrong.