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

Refactor Proxy Authentication and Error Handling #2885

Merged
merged 3 commits into from
Feb 5, 2015

Conversation

simianhacker
Copy link
Member

Closes #2872
Added check if the headers have been sent before sending the error
message to the browser.

Closes elastic#2872
Added check if the headers have been sent before sending the error
message to the browser.
@simianhacker simianhacker added this to the 4.0.0-RC1 milestone Feb 4, 2015
@w33ble
Copy link
Contributor

w33ble commented Feb 5, 2015

Tried it by killing a stream from the ssl proxy in mid-stream. Got this:

screenshot 2015-02-05 12 29 07

Master doesn't handle the error - this does. LGTM! 🇪🇸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server crash: "Can't set headers after they are sent."
2 participants