Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsHTTP (0.2 sec)

  1. pilot/pkg/networking/core/listener.go

    				if currentListenerEntry.protocol.IsHTTP() {
    					conflictType = TCPOverHTTP
    				} else if currentListenerEntry.protocol.IsTCP() {
    					conflictType = TCPOverTCP
    				} else {
    					conflictType = TCPOverAuto
    				}
    			}
    
    		case istionetworking.ListenerProtocolAuto:
    			if currentListenerEntry != nil {
    				if currentListenerEntry.protocol.IsHTTP() {
    					conflictType = AutoOverHTTP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    						e.Result.ClusterMatched = ""
    						e.Result.VirtualHostMatched = util.BlackHole
    					}
    					// TCP without a VIP will capture everything.
    					// Auto without a VIP is similar, but HTTP happens to work because routing is done on header
    					if call.Port == 82 || (call.Port == 81 && !call.IsHTTP()) {
    						e.Result.Error = nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    		return nil, errors.New("http: nil Request.URL")
    	}
    	if req.Header == nil {
    		req.closeBody()
    		return nil, errors.New("http: nil Request.Header")
    	}
    	scheme := req.URL.Scheme
    	isHTTP := scheme == "http" || scheme == "https"
    	if isHTTP {
    		// Validate the outgoing headers.
    		if err := validateHeaders(req.Header); err != "" {
    			req.closeBody()
    			return nil, fmt.Errorf("net/http: invalid header %s", err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top