Closed fluoz closed 10 months 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
Pls check the documentation https://docs.gofiber.io/api/fiber
These 2 settings have nothing to do with the timeout in your handler.
The read timeout is the timeout that exists when the request is read and the write timeout is the timeout for writing the response. These settings are in the unittests of our package and or the underlying fasthttp framework. You are probably looking for a way to give your handler a timeout for execution, for that look at this https://docs.gofiber.io/api/middleware/timeout
@fluoz any other question to this?
if you have any questions, just reopen
Question Description
How WriteTimeout and ReadTimeout works and how i want to test it?
Code Snippet (optional)
Checklist: