-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix re-enter middleware bug #3641
base: master
Are you sure you want to change the base?
Conversation
I can confirm the issue. |
@Robert-XIAO-777 Please rebase the latest master branch. Thanks. |
c.reset() | ||
engine.handleHTTPRequest(c) | ||
|
||
c.index = oldIndexValue | ||
c.handlers = oldHandles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please help to add the unit testing case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we use

HandleContext
re-enter,middleware handlers will be covered