Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsHTTP (0.31 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. 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)
  3. 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