Skip to content

Clarify timeout middleware ordering#31110

Merged
tdykstra merged 1 commit intomainfrom
tratcher/timeoutorder
Nov 23, 2023
Merged

Clarify timeout middleware ordering#31110
tdykstra merged 1 commit intomainfrom
tratcher/timeoutorder

Conversation

@Tratcher
Copy link
Copy Markdown
Member

@Tratcher Tratcher commented Nov 22, 2023

Fixes dotnet/aspnetcore#52295

All three of these middleware can handle an exception and not re-throw it, the most specific middleware (timeouts) needs to be last so it can handle them first.


Internal previews

📄 File 🔗 Preview link
aspnetcore/fundamentals/middleware/index.md ASP.NET Core Middleware

@Tratcher Tratcher requested a review from tdykstra November 22, 2023 22:33
@tdykstra tdykstra merged commit fa854f7 into main Nov 23, 2023
@tdykstra tdykstra deleted the tratcher/timeoutorder branch November 23, 2023 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The 499 status code may be returned when using Request timeouts and Exception Handler together

2 participants