Closed 2x2xplz closed 4 years ago
not sure why I didn't see this earlier, but apparently this behavior is originally by design: https://github.com/lightbody/browsermob-proxy/issues/264#issuecomment-112933259
BMP is not currently meant to be stopped and restarted.
With that said, this is a new project and new company, perhaps it is worth reconsidering whether no-restarts is the best option, or if it should be implemented.
We have a new implementation coming out. I'm closing for now. I think we may end up doing this along the way, though.
Describe the bug proxy thinks it is in both
started
andstopped
modes simultaneously. This is a problem because it cannot be restarted (throws an IllegalState error)To Reproduce Steps to reproduce the behavior (Kotlin):
Expected behavior after
buProxy.stop()
, I expectisStarted
to be false, and subsequentbuProxy.start()
command would not throw an "already started" errorScreenshots
Please complete the following information:
Additional context Same behavior exists in BrowserMob. I "upgraded" to BrowserUp, thinking this may have been fixed, but seeing the same issue in both packages.