Closed Eilon closed 5 years ago
Likely a duplicate of https://github.com/aspnet/BasicMiddleware/issues/279
We already merged something into dev to increase the timeout. We would still need to create a feature to make it configurable.
What @jkotalik said. If increased timeouts are still causing issues, please let us know!
(Also, #279 is tracking the feature to make timeouts configurable.)
From @MarcDrexler on February 23, 2018 8:26
I am using the rewrite middleware to filter out requests with specific user agents. My rules are coming from a text file, and I use the
AddApacheModRewrite
method to apply them.My Startup.cs looks like this:
And the text file contains a lot of rules in this format:
The filter works, but some requests fail with the following exception:
I believe these timeouts happen because of that many rules (~1700) and how they are written. Is there another/more efficient way to write these rules so the rewrite engine can work faster without having a timeout? Otherwise I need the ability to increase the timeout.
Copied from original issue: aspnet/Home#2899