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

http: ReverseProxy should remove Connection: close headers #2342

Closed
bradfitz opened this issue Oct 6, 2011 · 3 comments
Closed

http: ReverseProxy should remove Connection: close headers #2342

bradfitz opened this issue Oct 6, 2011 · 3 comments

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Oct 6, 2011

Report:
----


in reverseproxy.go near line 80 when you create the forwarded request,
i think you need to do:

outreq.Header.Del("Connection")

otherwise you will get spurious connection death with ErrPersistEOF.

-------

This might be a regression from http://code.google.com/p/go/source/detail?r=894b438b8564
@bradfitz
Copy link
Contributor Author

Comment 1:

This issue was closed by revision 7c5d90d.

Status changed to Fixed.

@adg
Copy link
Contributor

adg commented Oct 26, 2011

Comment 2:

This issue was closed by revision 5abb29d.

@adg
Copy link
Contributor

adg commented Oct 26, 2011

Comment 3:

This issue was closed by revision f777be8.

@bradfitz bradfitz self-assigned this Oct 26, 2011
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants