Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: undocumented race condition on simultaneous calls to (*http.Server).Serve #16505
Please answer these questions before submitting your issue. Thanks!
run this with the race detector: https://play.golang.org/p/9WopZBGsFq
I think the documentation should mention that it is not safe to call
Data race warning: https://gist.github.com/benburkert/4eb8e7e4acb72984f7568f4e1fdf1847