mirror of
https://github.com/pgsty/minio.git
synced 2026-07-25 15:06:17 +03:00
update and use rs/dnscache implementation instead of custom (#13348)
additionally optimize for IP only setups, avoid doing unnecessary lookups if the Dial addr is an IP. allow support for multiple listeners on same socket, this is mainly meant for future purposes.
This commit is contained in:
@@ -29,7 +29,7 @@ import (
|
||||
|
||||
// TODO: if possible implement for non-linux platforms, not a priority at the moment
|
||||
//nolint:deadcode
|
||||
func setInternalTCPParameters(c syscall.RawConn) error {
|
||||
func setTCPParameters(string, string, syscall.RawConn) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user