Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
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