-
Notifications
You must be signed in to change notification settings - Fork 187
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
Konnectivity server is incompatible with go std lib #645
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
This is made worse by the fact that go reuses connections, so if you were to do some custom stuff to the transport to try to circumvent this restriction, then you run into an issue where you might reuse the wrong conn https://cs.opensource.google/go/go/+/refs/tags/go1.23.4:src/net/http/transport.go;l=1926 How does the apiserver get around this? I'll try digging through api server code later to find the answer, but if anybody has a link that'd be helpful |
Go stdlib allows setting a proxy in the http.Transport object. When a proxy is set, and the destination uses HTTPS, it sends a CONNECT pass through request. However if the destination is HTTP, it sends a get request.
curl behaves the same.
This is incongruent with konnectivity which requires all requests to be CONNECT passthrough
The text was updated successfully, but these errors were encountered: