golang/go

net/http: slow io.Copy(http.ResponseWriter, *os.File) with Content-Length

Open

#41,513 opened on Sep 21, 2020

View on GitHub
 (21 comments) (1 reaction) (0 assignees)Go (19,008 forks)batch import
NeedsInvestigationhelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What version of Go are you using (go version)?

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

What did you do?

What did you expect to see?

Both benchmarks to take the same amount of time

What did you see instead?

Contributor guide