Closed fabiobulgarella 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
Hi @fabiobulgarella, I just tried to reproduce this using fiber v2.40.1 and Google Chrome 108.0.5359.124, however everything seems to work fine for me.
This is what I did:
Is this what you did to cause the panic? Is it still producible on your side using the latest version of fiber?
Has this been fixed or closed due to no response?
it was closed because it was not reproducible and there was no response in the last year, so we have to assume that this problem does not occur
Fiber version 2.33.0
Issue description When requests come from Google Chrome, after being served, they get stuck on Read call. To reproduce the problem use the below "Graceful Shutdown Example". When ReadTimeout is set in FiberConfig, requests from Chrome get stuck on Read until timeout expires, producing a Request Timeout error. When ReadTimeout is set to 0, no error is thrown but Fiber App can't shutdown until the browser close the request connection. This not happen using other browser. I tried with Firefox and Safari, requests do not stay blocked on Read and App can be shut down without any problem. Maybe it could be a fasthttp related problem, but I'm not sure. Here the stack trace of the Request Timeout error:
Code snippet