Skip to content

Instantly share code, notes, and snippets.

@ruseel
Created March 4, 2022 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruseel/01f1a8696d79d298d0bc139b4369c7c6 to your computer and use it in GitHub Desktop.
Save ruseel/01f1a8696d79d298d0bc139b4369c7c6 to your computer and use it in GitHub Desktop.
mitmproxy for gRPC server-streaming response

When you request gRPC through mitmproxy and the server responses with streaming client is not receiving that response.

Because mitmproxy tries to read entire response for manipulating opportunity.

So in that case, we can use '--set stream_large_bodies=1' option.

https://docs.mitmproxy.org/stable/overview-features/#streaming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment