Skip to content

Conversation

@appleboy
Copy link
Member

  • Remove call to c.Next() to prevent execution of subsequent middleware after a timeout
  • Update test to use a longer sleep and return StatusBadRequest instead of StatusRequestTimeout
  • Add a new test to verify that middleware after a timeout is not executed

- Remove call to c.Next() to prevent execution of subsequent middleware after a timeout
- Update test to use a longer sleep and return StatusBadRequest instead of StatusRequestTimeout
- Add a new test to verify that middleware after a timeout is not executed

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@appleboy appleboy merged commit ba241c4 into master Jul 18, 2025
6 checks passed
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.

2 participants