Closed qiannianshaonian closed 1 year ago
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord
this is why fiber and fasthttp is so fast
we reuse the requests and responses for subsequent requests
read this https://docs.gofiber.io/#zero-allocation
the solution is to simply make a copy of the data for everything that breaks out of this context, such as a go routine that runs alongside it or other processes that want to get the data afterwards, so that it is not overwritten by the replacement in the next request response process.
thank you This is a great technique, and I will learn to master it
Bug Description
my request method is "GET" or "POST", but when i write route info in my sqlDB, i found the method is changed "POS"
How to Reproduce
Steps to reproduce the behavior:
Expected Behavior
Reproduction steps:
//code in attachs code.zip
Fiber Version
github.com/gofiber/fiber/v2 v2.49.0
Code Snippet (optional)
Checklist: