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

Using proxy.plugin.ProxyPoolPlugin with proxy.plugin.CacheResponsesPlugin ssl interception #1339

Open
ydaniels opened this issue Jul 6, 2023 · 0 comments
Assignees
Labels
Bug Bug report in proxy server

Comments

@ydaniels
Copy link

ydaniels commented Jul 6, 2023

Using proxy.plugin.CacheResponsesPlugin and proxy.plugin.ProxyPoolPlugin does not seem to work together. handle_upstream_chunk is not getting called in BaseCacheResponsesPlugin

Steps to reproduce the behavior:

  1. Run proxy.py with plugins proxy.plugin.CacheResponsesPlugin, proxy.plugin.ProxyPoolPlugin
  2. handle_upstream_chunk does not get called in BaseCacheResponsesPlugin , therefore response chunks not getting persisted

Expected behavior
handle_upstream_chunk should be called in BaseCacheResponsesPlugin, if proxy.plugin.CacheResponsesPlugin is specified first

Version information

  • OS:Linux Ubunutu
    abhinavsingh/proxy.py docker
@ydaniels ydaniels added the Bug Bug report in proxy server label Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug report in proxy server
Projects
None yet
Development

No branches or pull requests

2 participants