mirror of
https://github.com/minio/minio.git
synced 2025-12-08 16:53:11 -05:00
add configurable VRF interface and user-timeout (#17108)
This commit is contained in:
@@ -49,12 +49,15 @@ type ConnSettings struct {
|
||||
|
||||
// HTTP2
|
||||
EnableHTTP2 bool
|
||||
|
||||
// TCP Options
|
||||
TCPOptions TCPOptions
|
||||
}
|
||||
|
||||
func (s ConnSettings) getDefaultTransport() *http.Transport {
|
||||
dialContext := s.DialContext
|
||||
if dialContext == nil {
|
||||
dialContext = DialContextWithDNSCache(s.DNSCache, NewInternodeDialContext(s.DialTimeout))
|
||||
dialContext = DialContextWithDNSCache(s.DNSCache, NewInternodeDialContext(s.DialTimeout, s.TCPOptions))
|
||||
}
|
||||
|
||||
tlsClientConfig := tls.Config{
|
||||
|
||||
Reference in New Issue
Block a user