VictoriaMetrics/lib/netutil
Nikolay a2f716b6cc
lib/netutil: log only parsing errors for proxy-protocol (#3985)
* lib/netutil: log only parsing errors for proxy-protocol

Previosly every error was logged. With configured TCP health checks at load-balancer or kubernetes, vmauth spams a lot of false positive error message into logs

* Update docs/CHANGELOG.md

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>

* Update lib/netutil/tcplistener.go

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
2023-03-21 10:22:39 -07:00
..
conn.go app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop 2022-10-25 17:47:17 +03:00
netutil.go lib/netutil: move IsTrivialNetworkError() function there, since it is used in multiple places across the code 2023-01-27 13:24:30 -08:00
proxyprotocol_test.go app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
proxyprotocol.go lib/netutil: typo fix in the error message 2023-01-27 10:38:38 -08:00
tcplistener.go lib/netutil: log only parsing errors for proxy-protocol (#3985) 2023-03-21 10:22:39 -07:00
tls_test.go lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00
tls.go lib/netutil/tls.go: consistently use tlsMinVersion name across source code 2022-09-26 17:58:01 +03:00