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: Malformed HTTP status code #12856
That code has many missed error checks. You're also copying the value of mutexes.
This has enough red flags that this is user error that I'm going to close this report for now. If you have something with complete error checks, no races, and ideally self-containing and easy for me to run and reproduce I can look into it more.