VictoriaMetrics/vendor/golang.org/x
Nikolay 9feee15493
lib/promscrape: fixes proxy autorization (#6783)
* Adds custom dial func for HTTP-Connect and socks5 proxy tunnels.
  Standard golang http.transport exposes GetProxyConnectHeader function,
  but it doesn't allow to use separate tls config for proxy.
  It also not possible to enforce HTTP-Connect with standard http lib.
* For http scrape targets, by default http.Transport.Proxy function must
  be used. Since it has special case with full uri forward.
* Adds proxy.URL json methods that allow to properly copy internal
fields, like User/Password.
It should fix bug with proxy_url. When credentials specified at URL was
ignored.
* Adds tests for scrape client proxy requests

related issue https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6771
2024-08-19 22:31:18 +02:00
..
crypto lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:31:18 +02:00
exp vendor: run make vendor-update 2024-07-17 20:47:20 +02:00
net lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:31:18 +02:00
oauth2 vendor: run make vendor-update 2024-06-07 16:40:42 +02:00
sync lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:31:18 +02:00
sys lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:31:18 +02:00
text lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:31:18 +02:00
time vendor: run make vendor-update 2023-12-11 10:48:36 +02:00