7 ms·
Go's HTTP server handles each request in its own goroutine, and any panics encountered are automatically recovered from. Nothing special needs to be done to pre
by ovao 9y ago
Go's HTTP server handles each request in its own goroutine, and any panics encountered are automatically recovered from. Nothing special needs to be done to prevent a panic from taking down the server.
- christophilus 9y agoInteresting. I had a panic take down my service,but I think I was trying fasthttp.