2 writes to EndpointConfig
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
426listenOptions.EndpointConfig = endpoint;
ListenOptions.cs (1)
245EndpointConfig = EndpointConfig
17 references to EndpointConfig
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Infrastructure\TransportManager.cs (1)
82StartAcceptLoop(new GenericMultiplexedConnectionListener(transport), c => multiplexedConnectionDelegate(c), listenOptions.EndpointConfig);
Internal\KestrelServerImpl.cs (5)
203options.EndPoint = await _transportManager.BindAsync(configuredEndpoint, connectionDelegate, options.EndpointConfig, onBindCancellationToken).ConfigureAwait(false); 354var urlsToStop = endpointsToStop.Select(lo => lo.EndpointConfig!.Url); 369configsToStop.Add(lo.EndpointConfig!); 382var urlsToStart = endpointsToStart.Select(lo => lo.EndpointConfig!.Url); 398Trace.LogCritical(0, ex, "Unable to bind to '{url}' on config reload.", listenOption.EndpointConfig!.Url);
KestrelConfigurationLoader.cs (5)
397if (o.EndpointConfig == endpoint) 399Debug.Assert(o.EndpointConfig?.Certificate?.FileHasChanged != true, "Preserving an endpoint with file changes"); 406endpointsToStop.RemoveAll(o => o.EndpointConfig == endpoint); 459var endpointConfig = endpointToStart.EndpointConfig; 483var endpointConfig = endpointToStop.EndpointConfig;
ListenOptions.cs (1)
245EndpointConfig = EndpointConfig
Microsoft.AspNetCore.Server.Kestrel.Tests (5)
KestrelConfigurationLoaderTests.cs (5)
855Assert.NotNull(end1?.EndpointConfig); 856Assert.Null(end1.EndpointConfig.ClientCertificateMode); 868Assert.NotNull(end1?.EndpointConfig); 869Assert.Null(end1.EndpointConfig.SslProtocols); 1395var (name, sniConfig) = Assert.Single(end1?.EndpointConfig?.Sni);