Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for IsHTTP (0.1 sec)

  1. 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)
  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. pkg/config/validation/validation.go

    				if portNames[s.Port.Name] {
    					v = AppendValidation(v, fmt.Errorf("port names in servers must be unique: duplicate name %s", s.Port.Name))
    				}
    				portNames[s.Port.Name] = true
    				if !protocol.Parse(s.Port.Protocol).IsHTTP() && s.GetTls().GetHttpsRedirect() {
    					v = AppendValidation(v, WrapWarning(fmt.Errorf("tls.httpsRedirect should only be used with http servers")))
    				}
    			}
    		}
    
    		return v.Unwrap()
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. 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)
  5. cmd/admin-handlers.go

    	if !want.Contains(trcInfo.TraceType) {
    		return false
    	}
    
    	isHTTP := trcInfo.TraceType.Overlaps(madmin.TraceInternal|madmin.TraceS3) && trcInfo.HTTP != nil
    
    	// Check latency...
    	if opts.Threshold > 0 && trcInfo.Duration < opts.Threshold {
    		return false
    	}
    
    	// Check internal path
    	isInternal := isHTTP && HasPrefix(trcInfo.HTTP.ReqInfo.Path, minioReservedBucketPath+SlashSeparator)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. 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