net/http: Server.Shutdown doc example bug: no exit on error #30641
It appears the doc example that is provided for
The example shows that when the listener returns, it only prints the error as opposed to being fatal. This would cause the process to block on the done channel until SIGINT is actually sent.
Reproduction of bug:
Should the error handling use
The text was updated successfully, but these errors were encountered: