How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

The Data Race That Wasn't a Bug (and the One That Was)

calendar_today October 6, 2026 domain victoriametrics

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.

open_in_new Read original post