mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
08cbbf8134
* 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 |
||
---|---|---|
.. | ||
conn.go | ||
conn_pool.go | ||
conn_pool_test.go | ||
dns.go | ||
dns_test.go | ||
netutil.go | ||
proxyprotocol.go | ||
proxyprotocol_test.go | ||
statdial.go | ||
statdial_test.go | ||
tcpdialer.go | ||
tcpdialer_default.go | ||
tcpdialer_linux.go | ||
tcplistener.go | ||
tls.go | ||
tls_test.go |