Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NewLRUClientSessionCache (0.3 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:             crypto.TLSCiphersBackwardCompatible(),
    			CurvePreferences:         crypto.TLSCurveIDs(),
    		}
    		// This is only to support client side certificate authentication
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 17:51:53 UTC 2025
    - 6.5K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/config.go

    		SRVRecordName: getCfgVal(SRVRecordName),
    		TLS: &tls.Config{
    			ServerName:         host,
    			MinVersion:         tls.VersionTLS12,
    			NextProtos:         []string{"h2", "http/1.1"},
    			ClientSessionCache: tls.NewLRUClientSessionCache(100),
    			CipherSuites:       crypto.TLSCiphersBackwardCompatible(), // Contains RSA key exchange
    			RootCAs:            rootCAs,
    		},
    	}
    
    	// Parse explicitly set enable=on/off flag.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 18 11:47:48 UTC 2025
    - 8.6K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.9K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
Back to top