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

Add --always-call-handle-client-data flag to HttpProxyPlugin #1526

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mattshep
Copy link

This optional flag will cause the handle_client_data() function of HttpProxyBasePlugin plugins to be called even when self.upstream is not None. The motivation behind this change is that I needed to be able to read all messages sent over a WebSocket, and not just the upstream responses which are caught by handle_upstream_chunk().

This optional flag will cause the `handle_client_data()` function of
`HttpProxyBasePlugin` plugins to be called even when `self.upstream` is
not `None`. The motivation behind this change is that I needed to be
able to read all messages sent over a WebSocket, and not just the
upstream responses which are caught by `handle_upstream_chunk()`.
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.

1 participant