Aliaksandr Valialkin
|
787242d7b0
|
lib/proxy: pass proxy hostname in Host header of the CONNECT request
This should resolve the following issue when connecting to tls proxy:
cannot validate certificate for ... because it doesn't contain any IP SANs
|
2021-03-09 20:39:40 +02:00 |
|
Aliaksandr Valialkin
|
36fd007247
|
lib/proxy: set missing ServerName in TLS config for proxy_url .
While at it, allow setting Proxy-Authorization for `proxy_url` via `basic_auth` and `bearer_token` configs.
|
2021-03-09 18:58:18 +02:00 |
|
Aliaksandr Valialkin
|
24ffad74c1
|
all: use net.Dial instead of fasthttp.Dial , because fasthttp.Dial limits the number of concurrent dials to 1000
|
2021-01-11 12:53:30 +02:00 |
|
Aliaksandr Valialkin
|
820669da69
|
lib/promscrape: code prettifying for 8dd03ecf19
|
2020-12-24 10:56:10 +02:00 |
|