4 instantiations of ConnectionLimitMiddleware
InMemory.FunctionalTests (2)
ConnectionLimitTests.cs (1)
240
var middleware = new
ConnectionLimitMiddleware
<ConnectionContext>(c => next(c), concurrentConnectionCounter, serviceContext.Log, metrics: serviceContext.Metrics);
EventSourceTests.cs (1)
376
return new
ConnectionLimitMiddleware
<ConnectionContext>(c => next(c), connectionLimit: 0, serviceContext.Log, metrics: null).OnConnectionAsync;
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\KestrelServerImpl.cs (2)
439
return new
ConnectionLimitMiddleware
<ConnectionContext>(c => innerDelegate(c), connectionLimit.Value, trace, metrics).OnConnectionAsync;
449
return new
ConnectionLimitMiddleware
<MultiplexedConnectionContext>(c => innerDelegate(c), connectionLimit.Value, trace, metrics).OnConnectionAsync;
1 reference to ConnectionLimitMiddleware
InMemory.FunctionalTests (1)
ConnectionLimitTests.cs (1)
240
var
middleware = new ConnectionLimitMiddleware<ConnectionContext>(c => next(c), concurrentConnectionCounter, serviceContext.Log, metrics: serviceContext.Metrics);