Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: error message says 'Request' instead of 'Response' #8140

Closed
vagababov opened this issue Jun 2, 2014 · 4 comments
Closed

net/http: error message says 'Request' instead of 'Response' #8140

vagababov opened this issue Jun 2, 2014 · 4 comments
Milestone

Comments

@vagababov
Copy link

See example program: http://play.golang.org/p/E4noNAhYVv
During execution it prints (
Error writing response: http: Request.ContentLength=0 with Body length 11), while this
is obviously a response.

Looking at the code there are two places with that error.

Thanks.
@rsc
Copy link
Contributor

rsc commented Jun 2, 2014

Comment 1:

Status changed to Accepted.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Labels changed: added repo-main, release-go1.4.

@gopherbot
Copy link

Comment 3:

CL https://golang.org/cl/131900044 mentions this issue.

@bradfitz
Copy link
Contributor

Comment 4:

This issue was closed by revision bdb2f97.

Status changed to Fixed.

@rsc rsc added this to the Go1.4 milestone Apr 14, 2015
@rsc rsc removed the release-go1.4 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jun 25, 2018
Fixes golang#8140.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/131900044
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jul 9, 2018
Fixes golang#8140.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/131900044
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants