Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for IsHTTP (0.14 sec)

  1. pilot/pkg/model/gateway.go

    	// so we have no fallback. If there was no match, the Gateway is a no-op.
    	return ret
    }
    
    func canMergeProtocols(current protocol.Instance, p protocol.Instance) bool {
    	return (current.IsHTTP() || current == p) && p.IsHTTP()
    }
    
    func GetSNIHostsForServer(server *networking.Server) []string {
    	if server.Tls == nil {
    		return nil
    	}
    	// sanitize the server hosts as it could contain hosts of form ns/host
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

            if (isInputTrackingDisabled()) {
                return
            }
    
            scriptSource.uri?.takeIf { it.isHttp }?.let { uri ->
                sink().captureRemoteScript(uri)
            }
        }
    
        /**
         * Returns `true` if [scheme][URI.scheme] starts with `http`.
         */
        private
        val URI.isHttp: Boolean
            get() = scheme.startsWith("http")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    			continue
    		}
    
    		configs = append(configs, types.NamespacedName{Name: modelSvc.Hostname.String(), Namespace: svc.Namespace})
    
    		for _, p := range modelSvc.Ports {
    			if !p.Protocol.IsHTTP() {
    				pureHTTP = false
    				break
    			}
    		}
    	}
    
    	configsUpdated := sets.New[model.ConfigKey]()
    	for _, config := range configs {
    		if !pureHTTP {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_traffic_policy.go

    	// uses downstream protocol. Therefore if the client upgrades connection to http2,
    	// the server will send h2 stream to the application,even though the application only
    	// supports http 1.1.
    	if port != nil && !port.Protocol.IsHTTP() {
    		return false
    	}
    
    	return mesh.H2UpgradePolicy == meshconfig.MeshConfig_UPGRADE
    }
    
    func (cb *ClusterBuilder) applyDefaultConnectionPool(cluster *cluster.Cluster) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. pilot/pkg/simulation/traffic.go

    	HTTP2 Protocol = "http2"
    	TCP   Protocol = "tcp"
    )
    
    type TLSMode string
    
    const (
    	Plaintext TLSMode = "plaintext"
    	TLS       TLSMode = "tls"
    	MTLS      TLSMode = "mtls"
    )
    
    func (c Call) IsHTTP() bool {
    	return httpProtocols.Contains(string(c.Protocol)) && (c.TLS == Plaintext || c.TLS == "")
    }
    
    var httpProtocols = sets.New(string(HTTP), string(HTTP2))
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway.go

    	wasm := builder.push.WasmPluginsByListenerInfo(builder.node, model.WasmPluginListenerInfo{
    		Port:  opts.port,
    		Class: istionetworking.ListenerClassGateway,
    	}, model.WasmPluginTypeNetwork)
    	if p.IsHTTP() {
    		// We have a list of HTTP servers on this port. Build a single listener for the server port.
    		port := &networking.Port{Number: port.Number, Protocol: port.Protocol}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_waypoint.go

    				portMapper.Map[portString] = match.ToMatcher(match.NewAppProtocol(match.ProtocolMatch{
    					TCP:  match.ToChain(tcpName),
    					HTTP: match.ToChain(httpName),
    				}))
    			} else if port.Protocol.IsHTTP() {
    				// Otherwise, just insert HTTP/TCP
    				chains = append(chains, httpChain)
    				portMapper.Map[portString] = match.ToChain(httpChain.Name)
    			} else {
    				chains = append(chains, tcpChain)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top