mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-22 10:07:48 +03:00
This is needed because the servers, which may use the TCPListener, such as net/http.Server, expect to get tls.Conn for TLS connections in order to properly fill various fields such as net/http.Request.TLS. If the listener returns some other net.Conn, then these fields aren't filled properly, and this may prevent from the proper mTLS-based authorization and request routing such as https://docs.victoriametrics.com/victoriametrics/vmauth/#mtls-based-request-routing Updates https://github.com/VictoriaMetrics/VictoriaLogs/issues/29