You turn on Go’s race detector and get a data race inside net/http that makes no sense at first. This post digs into how Go’s HTTP client really sends a request body, why it can keep reading your buffer after Client.Do has returned, why we decided that race is harmless in vmagent, and why the same behavior could corrupt data in vmauth, so we fixed it there.
The Data Race That Wasn't a Bug (and the One That Was)
calendar_today
October 6, 2026
domain
victoriametrics