Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I transfrom http request into tcp on HTTP Filter #125

Open
orangetangerine opened this issue Jul 18, 2021 · 0 comments
Open

Can I transfrom http request into tcp on HTTP Filter #125

orangetangerine opened this issue Jul 18, 2021 · 0 comments

Comments

@orangetangerine
Copy link

Can I transfrom http request into tcp on HTTP Filter

Description:
We have an old RPC framework running on production, with a self-designed RPC protocol on TCP. And I've made a transformer to turn gRPC request onto this private RPC request, so that these old services can run in Kubernetes, work on L7, and be controlled by Istio-proxy.
My question is, can I do this transform by WASM with Istio? If I apply a custom wasm on HTTP Filter, how can I turn gPRC
request to TCP bytes(non HTTP format).

By the way, I found ReplaceDownstreamData in Go's APIs (not found in CPP's), but it seems only available in TcpContext, not HttpContext.

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

No branches or pull requests

1 participant