abhinavsingh/proxy.py

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

ydaniels opened this issue · 0 comments

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