mirror of
https://github.com/gin-gonic/gin.git
synced 2026-11-19 08:43:39 +08:00
Reader.Render wrote Content-Length into the caller-supplied Headers map, so DataFromReader leaked a stale Content-Length into later responses that reused the map and raced when the map was shared across requests. Set Content-Length on the response headers instead.