private static ResourceCounter GetCounter(long?number) => number.HasValue ? ResourceCounter.Quota(number.Value) : ResourceCounter.Unlimited;
public ConnectionManager(IKestrelTrace trace, ResourceCounter upgradedConnections) { UpgradedConnectionCount = upgradedConnections; _trace = trace; }