1 write to Sni
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\ConfigurationReader.cs (1)
280Sni = sni;
12 references to Sni
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\ConfigurationReader.cs (4)
228if (endpoint.Sni.Count > 0) 309CompareSniDictionaries(Sni, other.Sni) && 314Certificate, ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate, Sni.Count, _configSectionClone);
KestrelConfigurationLoader.cs (2)
471foreach (var sniConfig in endpointConfig.Sni.Values) 495foreach (var sniConfig in endpointConfig.Sni.Values)
TlsConfigurationLoader.cs (2)
102if (endpoint.Sni.Count == 0) 112var sniOptionsSelector = new SniOptionsSelector(endpoint.Name, endpoint.Sni, _certificateConfigLoader,
Microsoft.AspNetCore.Server.Kestrel.Tests (4)
ConfigurationReaderTests.cs (3)
294Assert.NotNull(endpoint.Sni); 295Assert.False(endpoint.Sni.Any()); 339VerifySniConfig(reader.Endpoints.First().Sni["*.Example.org"]);
KestrelConfigurationLoaderTests.cs (1)
1395var (name, sniConfig) = Assert.Single(end1?.EndpointConfig?.Sni);