9 writes to ConnectionContext
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
87metricsContext ??= new ConnectionMetricsContext { ConnectionContext = connectionContext }; 225return new ConnectionMetricsContext { ConnectionContext = connectionContext };
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelMetrics.cs (1)
331ConnectionContext = connection,
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Http1\Http1OutputProducerTests.cs (2)
121var metricsContext = new ConnectionMetricsContext { ConnectionContext = mockConnectionContext.Object }; 241metricsContext ?? new ConnectionMetricsContext { ConnectionContext = connectionContext },
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
87metricsContext ??= new ConnectionMetricsContext { ConnectionContext = connectionContext }; 225return new ConnectionMetricsContext { ConnectionContext = connectionContext };
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
87metricsContext ??= new ConnectionMetricsContext { ConnectionContext = connectionContext }; 225return new ConnectionMetricsContext { ConnectionContext = connectionContext };
3 references to ConnectionContext
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Infrastructure\KestrelMetrics.cs (1)
323ConnectionEndpointTags.AddConnectionEndpointTags(ref tags, metricsContext.ConnectionContext);
Middleware\HttpsConnectionMiddleware.cs (2)
271KestrelEventSource.Log.TlsHandshakeFailed(metricsContext.ConnectionContext.ConnectionId); 272KestrelEventSource.Log.TlsHandshakeStop(metricsContext.ConnectionContext, null);