Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for NewLRUClientSessionCache (0.16 seconds)

  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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. 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,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. 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{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 18 11:47:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. cmd/update.go

    		IdleConnTimeout:       timeout,
    		TLSHandshakeTimeout:   timeout,
    		ExpectContinueTimeout: timeout,
    		TLSClientConfig: &tls.Config{
    			RootCAs:            globalRootCAs,
    			ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    		},
    		DisableCompression: true,
    	}
    	return updateTransport
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (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
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (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)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Click Count (0)
Back to Top