Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for IsTLS (0.07 sec)

  1. cmd/generic-handlers_test.go

    	URL               *url.URL
    	Header            http.Header
    	IsTLS, ShouldFail bool
    }{
    	{URL: &url.URL{}, Header: http.Header{}, IsTLS: false, ShouldFail: false},                                                                  // 0
    	{URL: &url.URL{}, Header: http.Header{xhttp.AmzServerSideEncryptionCustomerAlgorithm: []string{"AES256"}}, IsTLS: false, ShouldFail: true}, // 1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

        }
    
        return true
      }
    
      override fun equals(other: Any?): Boolean {
        if (other !is ConnectionSpec) return false
        if (other === this) return true
    
        if (this.isTls != other.isTls) return false
    
        if (isTls) {
          if (!Arrays.equals(this.cipherSuitesAsString, other.cipherSuitesAsString)) return false
          if (!Arrays.equals(this.tlsVersionsAsString, other.tlsVersionsAsString)) return false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. pkg/config/protocol/instance.go

    func (i Instance) IsTCP() bool {
    	switch i {
    	case TCP, HTTPS, TLS, Mongo, Redis, MySQL:
    		return true
    	default:
    		return false
    	}
    }
    
    // IsTLS is true for protocols on top of TLS (e.g. HTTPS)
    func (i Instance) IsTLS() bool {
    	switch i {
    	case HTTPS, TLS:
    		return true
    	default:
    		return false
    	}
    }
    
    // IsHTTPS is true if protocol is HTTPS
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route.go

    	}
    
    	return model.BuildSubsetKey(model.TrafficDirectionOutbound, destination.Subset, h, port)
    }
    
    type RouteOptions struct {
    	// IsTLS indicates if the route is intended for a TLS listener
    	IsTLS bool
    	// IsHTTP3AltSvcHeaderNeeded indicates if HTTP3 alt-svc header needs to be inserted
    	IsHTTP3AltSvcHeaderNeeded bool
    	Mesh                      *meshconfig.MeshConfig
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/tls.go

    	service *model.Service, bind string, listenPort *model.Port,
    	gateways sets.String, configs []config.Config,
    ) []*filterChainOpts {
    	if !listenPort.Protocol.IsTLS() {
    		return nil
    	}
    	actualWildcard, _ := getActualWildcardAndLocalHost(node)
    	// TLS matches are composed of runtime and static predicates.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            .isEqualTo("At least one cipher suite is required")
        }
      }
    
      @Test
      fun cleartextBuilder() {
        val cleartextSpec = ConnectionSpec.Builder(false).build()
        assertThat(cleartextSpec.isTls).isFalse()
      }
    
      @Test
      fun tlsBuilder_explicitCiphers() {
        val tlsSpec =
          ConnectionSpec.Builder(true)
            .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
            .tlsVersions(TlsVersion.TLS_1_2)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          // Cache the pool in the builder so that it will be shared with other clients
          builder.connectionPool = it
        }
    
      constructor() : this(Builder())
    
      init {
        if (connectionSpecs.none { it.isTls }) {
          this.sslSocketFactoryOrNull = null
          this.certificateChainCleaner = null
          this.x509TrustManager = null
          this.certificatePinner = CertificatePinner.DEFAULT
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. pkg/config/validation/validation.go

    	if _, err := portErr.Unwrap(); err == nil {
    		p := protocol.Parse(server.Port.Protocol)
    		if p.IsTLS() && server.Tls == nil {
    			v = AppendValidation(v, fmt.Errorf("server must have TLS settings for HTTPS/TLS protocols"))
    		} else if !p.IsTLS() && server.Tls != nil {
    			// only tls redirect is allowed if this is a HTTP server
    			if p.IsHTTP() {
    				if !gateway.IsPassThroughServer(server) ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/gateway.go

    			}
    
    			vskey := virtualService.Name + "/" + virtualService.Namespace
    
    			if routes, exists = gatewayRoutes[gatewayName][vskey]; !exists {
    				opts := istio_route.RouteOptions{
    					IsTLS:                     server.Tls != nil,
    					IsHTTP3AltSvcHeaderNeeded: isH3DiscoveryNeeded,
    					Mesh:                      push.Mesh,
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  10. tests/integration/pilot/common/routing.go

    	templateParams := func(protocol protocol.Instance, src echo.Callers, dests echo.Instances, ciphers []string, port string) map[string]any {
    		hostName, dest, portN, cred := "*", dests[0], 80, ""
    		if protocol.IsTLS() {
    			hostName, portN, cred = dest.Config().ClusterLocalFQDN(), 443, "cred"
    		}
    		return map[string]any{
    			"IngressNamespace":   src[0].(ingress.Instance).Namespace(),
    			"GatewayHost":        hostName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top