- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for IsHTTP (0.38 sec)
The limit of a search time was exceeded. The partial result might be displayed.
-
pilot/pkg/networking/core/cluster_waypoint.go
} if port.Protocol.IsUnsupported() || port.Protocol.IsTCP() { clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "tcp").build()) } if port.Protocol.IsUnsupported() || port.Protocol.IsHTTP() { clusters = append(clusters, cb.buildWaypointInboundVIPCluster(proxy, svc, *port, "http").build()) } cfg := cb.sidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, svc.Hostname).GetRule()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)