Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetIgnorePortInHostMatching (0.34 sec)

  1. pilot/pkg/simulation/traffic.go

    		return r
    	}
    	return nil
    }
    
    func (sim *Simulation) matchVirtualHost(rc *route.RouteConfiguration, host string) *route.VirtualHost {
    	if rc.GetIgnorePortInHostMatching() {
    		if h, _, err := net.SplitHostPort(host); err == nil {
    			host = h
    		}
    	}
    	// Exact match
    	for _, vh := range rc.VirtualHosts {
    		for _, d := range vh.Domains {
    			if d == host {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top