Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tlsContextConvert (0.13 sec)

  1. pkg/bootstrap/option/convert_test.go

    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			if got := convertToJSON(tlsContextConvert(tt.tls, tt.sni, tt.meta)); !reflect.DeepEqual(tt.expectTLSCtx, got) {
    				t.Errorf("%s: expected TLS ctx \n%v got \n%v", tt.desc, tt.expectTLSCtx, got)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pkg/bootstrap/option/convert.go

    	}
    }
    
    func transportSocketConverter(tls *networkingAPI.ClientTLSSettings, sniName string, metadata *model.BootstrapNodeMetadata, isH2 bool) convertFunc {
    	return func(*instance) (any, error) {
    		tlsContext := tlsContextConvert(tls, sniName, metadata)
    		if tlsContext == nil {
    			return "", nil
    		}
    		if !isH2 {
    			tlsContext.CommonTlsContext.AlpnProtocols = nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top