-
Notifications
You must be signed in to change notification settings - Fork 778
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
Issue with HTTP 301/302 with MITM #88
Comments
It looks like the request is being forwarded with the wrong protocol (http) and getting forced over to https. Will look at this soon. |
…he request following the original CONNECT was missing the host:port
The issue was that we were getting a CONNECT with a host:port for the server, but the subsequent GET was omitting this host:port. The logic that caches ProxyToServerConnections interpreted this as meaning that we needed to open a new connection to the server, when in fact we should have been reusing the existing one. I tested this against a real website using Chrome and Firefox and it seems to work now. I still need to update the unit test for this. The fix is available on the |
…he request following the original CONNECT was missing the host:port
…he request following the original CONNECT was missing the host:port
@codersbrew Is this working for you now? |
@oxtoacart Yes this works now |
Excellent! |
…tty-codec-4.1.68.Final Bump netty-codec from 4.1.63.Final to 4.1.68.Final
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
When going to https://www.google.com
or e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=561536
I get a loop of HTTP 301/302s that seem to not be completed by the MITM.
The text was updated successfully, but these errors were encountered: