Skip to content

kendaleiv/RegexTimeoutMiddleware

Repository files navigation

Regex Timeout Middleware

This repository middleware for ASP.NET Core to return a 408 Request Timeout response for a regex timeout. This helps add stability to web applications by stopping unexpectedly lengthy regex operations. By returning a 4xx status code, rather than 5xx, we can prevent timeout issues surfacing as server errors.

License

MIT license

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages