- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for HostHeader (0.26 sec)
-
pilot/pkg/networking/core/gateway_simulation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 18:27:40 UTC 2024 - 46.5K bytes - Viewed (0) -
pilot/pkg/networking/core/serviceentry_simulation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:06 UTC 2024 - 4.9K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
{Port: port, Protocol: simulation.HTTP, TLS: simulation.TLS, HostHeader: "foo"}, {Port: port, Protocol: simulation.HTTP, TLS: simulation.TLS, HostHeader: "foo", Alpn: "http/1.1"}, {Port: port, Protocol: simulation.TCP, TLS: simulation.Plaintext, HostHeader: "foo"}, {Port: port, Protocol: simulation.HTTP2, TLS: simulation.TLS, HostHeader: "foo"}, } { suffix := ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
} func (c Call) FillDefaults() Call { if c.Headers == nil { c.Headers = http.Header{} } if c.HostHeader != "" { c.Headers["Host"] = []string{c.HostHeader} } // For simplicity, set SNI automatically for TLS traffic. if c.Sni == "" && (c.TLS == TLS) { c.Sni = c.HostHeader } if c.Path == "" { c.Path = "/" } if c.TLS == "" { c.TLS = Plaintext } if c.Address == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
tests/integration/pilot/multiplecontrolplanes/main_test.go
HTTP: echo.HTTP{ Headers: HostHeader(apps.External.All[0].Config().DefaultHostHeader), }, Port: echo.Port{Name: "http", ServicePort: 80}, Scheme: scheme.HTTP, Check: check.And( check.ErrorOrStatus(tc.statusCode), ), }) }) } }) } func HostHeader(header string) http.Header { return headers.New().WithHost(header).Build()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 16:52:52 UTC 2024 - 9.1K bytes - Viewed (0) -
pilot/pkg/security/authz/model/model.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
ns = "default" } return []string{ c.Service, c.Service + "." + ns, c.Service + "." + ns + ".svc", c.ClusterLocalFQDN(), } } // HostHeader returns the Host header that will be used for calls to this service. func (c Config) HostHeader() string { if c.DefaultHostHeader != "" { return c.DefaultHostHeader } return c.ClusterLocalFQDN() } func (c Config) IsHeadless() bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0) -
tests/integration/pilot/mirror_test.go
func TestMirroringExternalService(t *testing.T) { header := "" if len(apps.External.All) > 0 { header = apps.External.All.Config().HostHeader() } runMirrorTest(t, mirrorTestOptions{ mirrorHost: header, cases: []testCaseMirror{ { name: "mirror-external", absent: true, percentage: 100.0,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.7K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/http.go
} // Use raw path, we don't want golang normalizing anything since we use this for testing purposes httpReq.URL.Opaque = cfg.urlPath // Use the host header as the host. httpReq.Host = cfg.hostHeader // Copy the headers. httpReq.Header = cfg.headers.Clone() writeForwardedHeaders(&outBuffer, requestID, cfg.headers) // Propagate previous response cookies if any if cfg.PropagateResponse != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 7.9K bytes - Viewed (0)