Make Kestrel limits configurable #305

Closed
opened 2025-12-29 15:20:18 +01:00 by adam · 1 comment
Owner

Originally created by @eduherminio on GitHub (Oct 14, 2020).

Is your feature request related to a problem? Please describe.
Increase KestrelServerLimits.MaxRequestHeadersTotalSize (and potentially other limits, i.e. KestrelServerLimits.Http2.MaxRequestHeaderFieldSize). See #519

Describe the solution you'd like
Make Kestrel limits configurable.
See this draft PR of a possible implementation for USE_ASPNETCORE && .NET Standard > 1.3
https://github.com/WireMock-Net/WireMock.Net/pull/520

Describe alternatives you've considered
Ask for a manual increase of KestrelServerLimits.MaxRequestHeadersTotalSize (to int.MaxValue? to something else?)

Originally created by @eduherminio on GitHub (Oct 14, 2020). **Is your feature request related to a problem? Please describe.** Increase `KestrelServerLimits.MaxRequestHeadersTotalSize` (and potentially other limits, i.e. `KestrelServerLimits.Http2.MaxRequestHeaderFieldSize`). See #519 **Describe the solution you'd like** Make Kestrel limits configurable. See this draft PR of a possible implementation for `USE_ASPNETCORE && .NET Standard > 1.3` https://github.com/WireMock-Net/WireMock.Net/pull/520 **Describe alternatives you've considered** Ask for a manual increase of `KestrelServerLimits.MaxRequestHeadersTotalSize` (to `int.MaxValue`? to something else?)
adam added the feature label 2025-12-29 15:20:18 +01:00
adam closed this issue 2025-12-29 15:20:18 +01:00
Author
Owner

@StefH commented on GitHub (Oct 15, 2020):

PR is merged.

@StefH commented on GitHub (Oct 15, 2020): PR is merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#305