Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewAppProtocol (0.27 sec)

  1. pilot/pkg/networking/core/match/match.go

    	return newMapper(SourceIP)
    }
    
    func NewDestinationPort() Mapper {
    	return newMapper(DestinationPort)
    }
    
    type ProtocolMatch struct {
    	TCP, HTTP *matcher.Matcher_OnMatch
    }
    
    func NewAppProtocol(pm ProtocolMatch) *matcher.Matcher {
    	m := newMapper(ApplicationProtocolInput)
    	m.Map["'h2c'"] = pm.HTTP
    	m.Map["'http/1.1'"] = pm.HTTP
    	if features.HTTP10 {
    		m.Map["'http/1.0'"] = pm.HTTP
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top