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

HttpListener exception handling #317

Merged
merged 1 commit into from
Oct 24, 2019
Merged

HttpListener exception handling #317

merged 1 commit into from
Oct 24, 2019

Conversation

Tratcher
Copy link
Member

@Tratcher Tratcher commented Oct 24, 2019

#314 OwinHttpListener assumed HttpListenerException would only be thrown if the HttpListener had been disposed. However, a partner identified another scenario where it can throw. These specialized catch blocks were redundant anyways, they all did the same thing. I've removed them and let everything fall through to the generic block. This now more close matches the code in Core.
@scottlerch

@Tratcher Tratcher added this to the 4.1.0 milestone Oct 24, 2019
@Tratcher Tratcher self-assigned this Oct 24, 2019
@Tratcher Tratcher merged commit 294be6a into dev Oct 24, 2019
@Tratcher Tratcher deleted the tratcher/thrown branch October 24, 2019 21:50
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.

2 participants