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

Do not store the HTTPDummyServerDelegate object #96

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

pushkarnk
Copy link
Contributor

Kitura-Net keeps the HTTP server running even if a delegate isn't provided. We use a HTTPDummyServerDelegate for this purpose. Before this code change, we stored the dummy delegate in the delegate property of HTTPServer. This may be confusing to a user who will rightly think that delegate is nil if it isn't explicitly set.

Kitura-Net keeps the HTTP server running even if a delegate isn't provided. We use a HTTPDummyServerDelegate for this purpose. Before this code change, we stored the dummy delegate in the delegate property of HTTPServer. This may be confusing to a user who will rightly think that delegate is nil if it isn't explicitly set.
@pushkarnk
Copy link
Contributor Author

Ran Kitura tests locally

@nethraravindran
Copy link
Contributor

Looks good to me

@pushkarnk pushkarnk merged commit 60f6d18 into Kitura:master Sep 25, 2018
@pushkarnk pushkarnk deleted the remove-dummy-delegate branch March 11, 2019 19:29
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