- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for upgradeType (0.2 sec)
-
src/net/http/httputil/reverseproxy.go
if m.t != nil { m.t.Stop() } } func upgradeType(h http.Header) string { if !httpguts.HeaderValuesContainsToken(h["Connection"], "Upgrade") { return "" } return h.Get("Upgrade") } func (p *ReverseProxy) handleUpgradeResponse(rw http.ResponseWriter, req *http.Request, res *http.Response) { reqUpType := upgradeType(req.Header) resUpType := upgradeType(res.Header)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 23:37:42 UTC 2024 - 24.9K bytes - Viewed (0) -
tests/integration/pilot/forwardproxy/envoy_config_generator.go
Cluster: "dynamic_forward_proxy_cluster", }, UpgradeConfigs: []*envoy_route.RouteAction_UpgradeConfig{ { UpgradeType: "CONNECT", ConnectConfig: &envoy_route.RouteAction_UpgradeConfig_ConnectConfig{}, }, }, }, }, Match: &envoy_route.RouteMatch{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 27 19:22:30 UTC 2023 - 8.8K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
UseRemoteAddress: proto.BoolFalse, } // Protocol settings h.StreamIdleTimeout = istio_route.Notimeout h.UpgradeConfigs = []*hcm.HttpConnectionManager_UpgradeConfig{{ UpgradeType: ConnectUpgradeType, }} h.Http2ProtocolOptions = &core.Http2ProtocolOptions{ AllowConnect: true, // TODO(https://github.com/istio/istio/issues/43443)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy_test.go
} }) } } func TestReverseProxyWebSocket(t *testing.T) { backendServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if upgradeType(r.Header) != "websocket" { t.Error("unexpected backend request") http.Error(w, "unexpected request", 400) return } c, _, err := w.(http.Hijacker).Hijack() if err != nil { t.Error(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_builder.go
connectionManager.UseRemoteAddress = proto.BoolTrue } else { connectionManager.UseRemoteAddress = proto.BoolFalse } // Allow websocket upgrades websocketUpgrade := &hcm.HttpConnectionManager_UpgradeConfig{UpgradeType: "websocket"} connectionManager.UpgradeConfigs = []*hcm.HttpConnectionManager_UpgradeConfig{websocketUpgrade} if idleTimeout := parseDuration(lb.node.Metadata.IdleTimeout); idleTimeout != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 17.9K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_inbound.go
}, Action: &route.Route_Route{Route: &route.RouteAction{ UpgradeConfigs: []*route.RouteAction_UpgradeConfig{{ UpgradeType: ConnectUpgradeType, ConnectConfig: &route.RouteAction_UpgradeConfig_ConnectConfig{}, }}, ClusterSpecifier: &route.RouteAction_Cluster{Cluster: MainInternalName}, }}, }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 35.1K bytes - Viewed (0) -
pilot/pkg/xds/testdata/none_lds_http.json
{ "Kind": { "StructValue": { "fields": { "upgrade_type": { "Kind": { "StringValue": "websocket" } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 13 02:10:15 UTC 2021 - 32.9K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy
assertThat(compilation) .generatedSourceFile(fqName(adapterClass)) .containsElementsIn(adapterClass) } def "should auto generate adapter for upgraded property with type #upgradedType"() { given: def givenSource = source""" package org.gradle.test; import org.gradle.api.provider.*; import org.gradle.api.file.*;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 17.9K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/testdata/config_dump.json
"server_name": "istio-envoy", "use_remote_address": false, "upgrade_configs": [ { "upgrade_type": "websocket" } ], "stream_idle_timeout": "0s", "normalize_path": true,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 54.8K bytes - Viewed (0) -
istioctl/pkg/authz/testdata/configdump.yaml
"value": "default" } } ] }, "use_remote_address": false, "upgrade_configs": [ { "upgrade_type": "websocket" } ], "stream_idle_timeout": "0s", "normalize_path": true, "request_id_extension": { "typed_config": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 21 14:20:23 UTC 2023 - 206.7K bytes - Viewed (1)