Skip to content

backport: fix inappropriate connection reuse when using HTTP proxy if the initial CONNECT failed #2074

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

Conversation

jasonjoo2010
Copy link
Contributor

It's a backport fix(#2072) for #2071 on 2.12.x

@jasonjoo2010 jasonjoo2010 changed the title backport: fix inappropriate connection reuse when using HTTP proxy backport: fix inappropriate connection reuse when using HTTP proxy if the initial CONNECT failed Mar 10, 2025
There is an extra CONNECT request needs to send before the real request to the HTTP proxy and the 2nd request only happens if the CONNECT request succeeds. When CONNECT failed, the connection should be dropped as it's not in connected state.

Signed-off-by: Jason Joo <[email protected]>
@jasonjoo2010 jasonjoo2010 force-pushed the fix/back-port-http-proxy-connect-failure-2.12 branch from 70073f5 to 2409335 Compare March 16, 2025 16:56
@hyperxpro
Copy link
Member

Unfortunately, v2 is EoL and it'll not receive any updates. But thanks a lot for fixing this in v3.

:)

@hyperxpro hyperxpro closed this Mar 17, 2025
@jasonjoo2010
Copy link
Contributor Author

got it, I will notify internal users about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants