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
channel with net.http, no deadlock, why #33004
What version of Go are you using (
Whether the deadlock detector triggers may depend on goroutine scheduling and system call implementation details.
Fundamentally, your programs — and tests of those programs — should not rely on the behavior of the deadlock detector. It's a useful tool when it triggers, but it's not an adequate substitute for profiling, integration-testing, and load-testing.