Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NewLRUClientSessionCache (0.15 sec)

  1. internal/config/etcd/etcd.go

    			RootCAs:                  rootCAs,
    			PreferServerCipherSuites: true,
    			MinVersion:               tls.VersionTLS12,
    			NextProtos:               []string{"http/1.1", "h2"},
    			ClientSessionCache:       tls.NewLRUClientSessionCache(64),
    			CipherSuites:             fips.TLSCiphersBackwardCompatible(),
    			CurvePreferences:         fips.TLSCurveIDs(),
    		}
    		// This is only to support client side certificate authentication
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 23:17:22 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. internal/http/transports.go

    	}
    
    	tlsClientConfig := tls.Config{
    		RootCAs:            s.RootCAs,
    		CipherSuites:       s.CipherSuites,
    		CurvePreferences:   s.CurvePreferences,
    		ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	// For more details about various values used here refer
    	// https://golang.org/pkg/net/http/#Transport documentation
    	tr := &http.Transport{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/kms/config.go

    			}
    		}
    
    		client, err := kms.NewClient(&kms.Config{
    			Endpoints: endpoints,
    			APIKey:    key,
    			TLS: &tls.Config{
    				MinVersion:         tls.VersionTLS12,
    				ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    				RootCAs:            rootCAs,
    			},
    		})
    		if err != nil {
    			return nil, err
    		}
    
    		return &KMS{
    			Type:       MinKMS,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/config.go

    		ServerAddr:    ldapServer,
    		SRVRecordName: getCfgVal(SRVRecordName),
    		TLS: &tls.Config{
    			MinVersion:         tls.VersionTLS12,
    			NextProtos:         []string{"h2", "http/1.1"},
    			ClientSessionCache: tls.NewLRUClientSessionCache(100),
    			CipherSuites:       fips.TLSCiphersBackwardCompatible(), // Contains RSA key exchange
    			RootCAs:            rootCAs,
    		},
    	}
    
    	// Parse explicitly set enable=on/off flag.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. cmd/update.go

    		IdleConnTimeout:       timeout,
    		TLSHandshakeTimeout:   timeout,
    		ExpectContinueTimeout: timeout,
    		TLSClientConfig: &tls.Config{
    			RootCAs:            globalRootCAs,
    			ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    		},
    		DisableCompression: true,
    	}
    	return updateTransport
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. cmd/utils.go

    		PreferServerCipherSuites: true,
    		MinVersion:               tls.VersionTLS12,
    		NextProtos:               []string{"http/1.1", "h2"},
    		GetCertificate:           getCert,
    		ClientSessionCache:       tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	tlsClientIdentity := env.Get(xtls.EnvIdentityTLSEnabled, "") == config.EnableOn
    	if tlsClientIdentity {
    		tlsConfig.ClientAuth = tls.RequestClientCert
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  7. api/go1.3.txt

    pkg crypto/tls, const CurveP521 = 25
    pkg crypto/tls, const CurveP521 CurveID
    pkg crypto/tls, func DialWithDialer(*net.Dialer, string, string, *Config) (*Conn, error)
    pkg crypto/tls, func NewLRUClientSessionCache(int) ClientSessionCache
    pkg crypto/tls, type ClientSessionCache interface { Get, Put }
    pkg crypto/tls, type ClientSessionCache interface, Get(string) (*ClientSessionState, bool)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
Back to top