VictoriaMetrics/lib/netutil
jackyin e5d279bb71
lib/netutil: validate TLS cert and key files immediately (#6621)
Validate files specified via `-tlsKeyFile` and `-tlsCertFile` cmd-line flags on the process start-up. Previously, validation happened on the first connection accepted by HTTP server.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6608

---------

Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-07-29 13:58:53 +02:00
..
conn.go lib/{httputils,netutil}: move httputils.GetStatDialFunc to netutil.NewStatDialFunc 2024-07-15 23:02:34 +02:00
netutil.go app/vmauth: fix discovering backend IPs when url_prefix contains hostname with srv+ prefix (#6401) 2024-06-12 12:30:44 +02:00
proxyprotocol.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
proxyprotocol_test.go app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
statdial.go lib/{httputils,netutil}: move httputils.GetStatDialFunc to netutil.NewStatDialFunc 2024-07-15 23:02:34 +02:00
statdial_test.go lib/{httputils,netutil}: move httputils.GetStatDialFunc to netutil.NewStatDialFunc 2024-07-15 23:02:34 +02:00
tcplistener.go docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
tls.go lib/netutil: validate TLS cert and key files immediately (#6621) 2024-07-29 13:58:53 +02:00
tls_test.go lib/netutil: validate TLS cert and key files immediately (#6621) 2024-07-29 13:58:53 +02:00