Closed damianh closed 9 years ago
Should be able to do per-request adjustment of limits.
I don't think I want to expose the environment dictionary to the user, but a readonly interface of some sort. Something like:
builder.MaxConcurrentRequests(request => request.PathBase.StartsWith("/restricted", StringComparison.OrdinalIgnoreCase) ? 10000 : int.MaxValue)
I'm assuming ATM that MaxQueryStringLength and MaxUrlLength do not need this functionality.
Yes, this wouldn't make sense there.
Should be able to do per-request adjustment of limits.
I don't think I want to expose the environment dictionary to the user, but a readonly interface of some sort. Something like: