2 overrides of TryLockOne
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\ResourceCounter.cs (2)
18
public override bool
TryLockOne
() => true;
39
public override bool
TryLockOne
()
2 references to TryLockOne
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
271
if (!ServiceContext.ConnectionManager.UpgradedConnectionCount.
TryLockOne
())
Middleware\ConnectionLimitMiddleware.cs (1)
34
if (!_concurrentConnectionCounter.
TryLockOne
())