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

Missing defer in httpd recovery. fixes #4124 #4147

Merged
merged 1 commit into from
Sep 17, 2015
Merged

Conversation

corylanou
Copy link
Contributor

fixes #4124

This will catch any panics that the httpd process spawns. However, since the majority of the go routines in play that typically panic are not spawned by the http process, those panics will still take the server down.

This only fixes the intended behavior of the httpd recovery middleware.

@otoolep
Copy link
Contributor

otoolep commented Sep 17, 2015

+1

corylanou added a commit that referenced this pull request Sep 17, 2015
Missing defer in httpd recovery.  fixes #4124
@corylanou corylanou merged commit 83d2df1 into master Sep 17, 2015
@corylanou corylanou deleted the httpd-recovery branch September 17, 2015 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing defer/recover/panic idiom in HTTPD service
2 participants