You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://play.golang.org/p/GitRj9yIY8j
The file stream returned from the server is about 30M. At the same time as io.copy, the disk io reaches 100%. The network environment is as follows
What did you expect to see?
I want to know why the error is returned and then how to circumvent the error
What did you see instead?
The error code of line 51 is printed as follows:
net/http: request canceled (Client.Timeout exceeded while reading body)
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
no
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/GitRj9yIY8j

The file stream returned from the server is about 30M. At the same time as io.copy, the disk io reaches 100%. The network environment is as follows
What did you expect to see?
I want to know why the error is returned and then how to circumvent the error
What did you see instead?
The error code of line 51 is printed as follows:
net/http: request canceled (Client.Timeout exceeded while reading body)
The text was updated successfully, but these errors were encountered: