net/http: If the response is returned directly and the request body is not consumed, the browser throws an error, but nodejs does not. #62694
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Unfortunate
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
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
)?go env
OutputWhat did you do?
When sending data to an HTTP server built in Go, the browser throw a network error if the server returns a response without actively consuming the request body (only if the request body is large). However, this error does not occur when using an HTTP server built with Node.js.
example
https://github.com/tianluanchen/go-issue-62694
What did you expect to see?
No error occurs in the browser
What did you see instead?
The browser throws a network error
The text was updated successfully, but these errors were encountered: