Join GitHub today
x/net/http2: Transport ignores net/http.Transport.Proxy once connected #25793
What version of Go are you using (
tl;dr net/http executes Proxy whenever RoundTrip isn't delegated to alternate round tripper (
If you use
Also I don’t think DisableKeepAlive has any effect on http2 which uses long lived connections.