Skip to content

thrift proxy: refactor more common functionality#17533

Merged
mattklein123 merged 4 commits intoenvoyproxy:mainfrom
rgs1:thrift-refactor-more-common-stuff
Jul 29, 2021
Merged

thrift proxy: refactor more common functionality#17533
mattklein123 merged 4 commits intoenvoyproxy:mainfrom
rgs1:thrift-refactor-more-common-stuff

Conversation

@rgs1
Copy link
Copy Markdown
Member

@rgs1 rgs1 commented Jul 29, 2021

This is PR 4/5 towards adding shadowing support. This moves the last
bits needed to implement shadowing while reusing as much as possible.

The next and final PR will be big, but with very few duplicate
parts (if any, and they'll be small anyway).

Signed-off-by: Raul Gutierrez Segales rgs@pinterest.com

This is PR 4/5 towards adding shadowing support. This moves the last
bits needed to implement shadowing while reusing as much as possible.

The next and final PR will be big, but with very few duplicate
parts (if any, and they'll be small anyway).

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
@rgs1 rgs1 requested a review from zuercher as a code owner July 29, 2021 02:41
@rgs1 rgs1 changed the title thrift proxy: move more common functionality into router.h thrift proxy: refactor more common functionality Jul 29, 2021
Raul Gutierrez Segales added 3 commits July 29, 2021 10:36
I use these chunks for ShadowRouter implementation.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
I need this, otherwise I'll need to fully implement DecoderFilterCallbacks
from the ShadowRouter which is hard because I don't have access to the
StreamInfo from there. It would also be a lot of unnecessary boiler plate.

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Copy link
Copy Markdown
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mattklein123 mattklein123 merged commit e81f821 into envoyproxy:main Jul 29, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
This is PR 4/5 towards adding shadowing support. This moves the last
bits needed to implement shadowing while reusing as much as possible.

The next and final PR will be big, but with very few duplicate
parts (if any, and they'll be small anyway).

Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants