Open jordanglassman opened 8 years ago
Yes, you've found an unfortunate limitation of BMP that stems from LittleProxy's ConnectionFlow. There's a refactor of CF in the works that will solve this problem, but it won't be released until later this year. Actual HTTP requests (other than the CONNECT) are blacklisted, but the initial CONNECT still must be successful.
As you note, it's possible to work around it by using the AdvancedHostResolver to remap the host. That is less than an ideal solution, and will be addressed after the ConnectionFlow refactor.
@jekh, is there any progress on that CF rewrite?
Not yet, unfortunately. I'm on the verge of releasing the next version of the REST API for comment. ConnectionFlow refactor is the next big thing on my list though.
Any updates on this issue? I'm having problems with a page that takes so long to load and I want to blacklist it, but the page is under HTTPS and is still being loaded.
And AdvancedHostResolver is not an option, since I still need to open the HTTPS website.
Any updates, guys? Having problems with blacklisting that doesn't work for https is really upset thing.. @jekh
@lightbody perhaps you can give any update on it? Is it possible to implement this feature?
Hi all. Any updates?
Hello! Did anyone manage to resolve this problem independently from the browsermob-proxy ? Thank you!
Hi all. Any updates?
This is a problem because these sorts of pathological situations are exactly why I started using browsermob-proxy. Workaround is to use
AdvancedHostResolver#remapHost
instead, but this is unsightly and might fail in some corner cases.I think it probably has something to do with the order the
HttpFiltersSourceAdapter
s are applied inBrowerMobProxyServer
, but I'm new to this code base. I think eitherResolvedHostnameCacheFilter
orHttpsOriginalHostCaptureFilter
requires a valid SSL socket to be created before the blacklist is applied inBlacklistFilter
.Using bmp 2.1.1 and selenium 2.53.1.
Test case:
DEBUG logs: