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

Late encoding errors cannot create HTTP error #542

Closed
beorn7 opened this issue Mar 5, 2019 · 0 comments
Closed

Late encoding errors cannot create HTTP error #542

beorn7 opened this issue Mar 5, 2019 · 0 comments
Assignees
Labels

Comments

@beorn7
Copy link
Member

beorn7 commented Mar 5, 2019

httpError(rsp, err)

This call will fail with multiple response.WriteHeader calls if something has already been sent down the wire. This needs to be treated in a better way.

@beorn7 beorn7 self-assigned this Mar 5, 2019
@beorn7 beorn7 added the bug label Mar 5, 2019
beorn7 added a commit that referenced this issue Jun 5, 2019
The doc comments explain the rationale in a quite detailed way.

Fixes #543 and #542

Signed-off-by: beorn7 <beorn@grafana.com>
beorn7 added a commit that referenced this issue Jun 5, 2019
The doc comments explain the rationale in a quite detailed way.

Fixes #543 and #542

Signed-off-by: beorn7 <beorn@grafana.com>
beorn7 added a commit that referenced this issue Jun 5, 2019
The doc comments explain the rationale in a quite detailed way.

Fixes #543 and #542

Signed-off-by: beorn7 <beorn@grafana.com>
@beorn7 beorn7 closed this as completed Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant