Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TransportProtocol (0.22 sec)

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

    			Protocol:          networking.ListenerProtocolHTTP,
    			TransportProtocol: xdsfilters.RawBufferTransportProtocol,
    		},
    		{
    			// client side traffic could not be identified by the outbound listener, but sent over mTLS
    			ApplicationProtocols: mtlsTCPWithMxcALPNs,
    			// If client sends mTLS traffic, transport protocol will be set by the TLS inspector
    			TransportProtocol: xdsfilters.TLSTransportProtocol,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/networking.go

    	default:
    		// Should not reach here.
    		return ListenerProtocolAuto
    	}
    }
    
    type TransportProtocol uint8
    
    const (
    	// TransportProtocolTCP is a TCP listener
    	TransportProtocolTCP = iota
    	// TransportProtocolQUIC is a QUIC listener
    	TransportProtocolQUIC
    )
    
    func (tp TransportProtocol) String() string {
    	switch tp {
    	case TransportProtocolTCP:
    		return "tcp"
    	case TransportProtocolQUIC:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 18 09:42:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/networking_test.go

    			3,
    			"unknown",
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := TransportProtocol(tt.value).String(); got != tt.want {
    				t.Errorf("Failed to get TransportProtocol.String :: got = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. pilot/test/xdstest/validate.go

    	}
    	for _, fc := range l.FilterChains {
    		m := fc.FilterChainMatch
    		if fc.FilterChainMatch == nil {
    			continue
    		}
    		if m.TransportProtocol == xdsfilters.TLSTransportProtocol {
    			t.Errorf("transport protocol set, but missing tls inspector: %v", Dump(t, l))
    		}
    		if m.TransportProtocol == "" && len(m.ServerNames) > 0 {
    			t.Errorf("server names set, but missing tls inspector: %v", Dump(t, l))
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top