Closed airycanon closed 1 year ago
@airycanon hi, thank you for reporting this!
It seems the only change required for the fix is this: https://github.com/AdguardTeam/gomitmproxy/commit/147e33e57cbace9ea6b33a02b9479e010bcb288a#diff-fd4820e2c415e0057b0e67d294303bdde3b98c2731b6dbd1e2b0f79349744499R276
Other changes in the PR are not necessary.
@ameshkov Thanks for your response. I need to implement the validation of the Proxy-Authorization within the OnRequest function, so I added a method to retrieve the Parent from the Context. Additionally, I also needed to ensure that the connection remains open, so I included a check for the StatusCode in the isClosing function.
before this fix
client log by git clone
proxy server log:
After this fix
client log by git clone
proxy server log