6 instantiations of HttpConnection
InMemory.FunctionalTests (2)
Http2\Http2TestBase.cs (1)
497var httpConnection = new HttpConnection(httpConnectionContext);
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
247_httpConnection = new HttpConnection(httpConnectionContext);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\HttpConnectionMiddleware.cs (1)
49var connection = new HttpConnection(httpConnectionContext);
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
53var connection = new HttpConnection(httpConnectionContext);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
HttpConnectionTests.cs (1)
30var httpConnection = new HttpConnection(httpConnectionContext);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
247_httpConnection = new HttpConnection(httpConnectionContext);
11 references to HttpConnection
InMemory.FunctionalTests (2)
Http2\Http2TestBase.cs (1)
497var httpConnection = new HttpConnection(httpConnectionContext);
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
74internal HttpConnection _httpConnection;
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http2\Http2Connection.cs (1)
32/// Owned by <see cref="HttpConnection"/>.
Internal\HttpConnection.cs (4)
111connectionHeartbeatFeature?.OnHeartbeat(state => ((HttpConnection)state).Tick(), this); 114using var shutdownRegistration = connectionLifetimeNotificationFeature?.ConnectionClosedRequested.Register(state => ((HttpConnection)state!).StopProcessingNextRequest(ConnectionEndReason.GracefulAppShutdown), this); 117using var closedRegistration = _context.ConnectionContext.ConnectionClosed.Register(state => ((HttpConnection)state!).OnConnectionClosed(), this); 124Log.LogCritical(0, ex, $"Unexpected exception in {nameof(HttpConnection)}.{nameof(ProcessRequestsAsync)}.");
Middleware\HttpConnectionMiddleware.cs (1)
49var connection = new HttpConnection(httpConnectionContext);
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
53var connection = new HttpConnection(httpConnectionContext);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
HttpConnectionTests.cs (1)
30var httpConnection = new HttpConnection(httpConnectionContext);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
74internal HttpConnection _httpConnection;