gin icon indicating copy to clipboard operation
gin copied to clipboard

fix re-enter middleware bug

Open Robert-XIAO-777 opened this issue 2 years ago • 2 comments

When we use HandleContext re-enter,middleware handlers will be covered image

Robert-XIAO-777 avatar Jun 07 '23 10:06 Robert-XIAO-777

I can confirm the issue. PATH_A is a path where HandleContext to redirect to PATH_B. If PATH_B has more handlers than PATH_A then part of PATH_B handlers will be executed one more time after processing of PATH_A has been done.

rstrlcpy avatar Feb 01 '24 12:02 rstrlcpy

@Robert-XIAO-777 Please rebase the latest master branch. Thanks.

appleboy avatar Feb 05 '24 02:02 appleboy