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

Fixed bug in https handling #568

Merged
merged 1 commit into from
Aug 16, 2016
Merged

Fixed bug in https handling #568

merged 1 commit into from
Aug 16, 2016

Conversation

CreepGin
Copy link
Contributor

The default return startServers() needs to be wrapped in an else block because the first return statement was done in a callback (inside pem.createCertificate).

The default `return startServers()` needs to be wrapped in an `else` block because the first `return` statement was done in a callback (inside `pem.createCertificate`).
@CLAassistant
Copy link

CLAassistant commented Aug 16, 2016

CLA assistant check
All committers have signed the CLA.

@gigabo
Copy link
Contributor

gigabo commented Aug 16, 2016

Oooh, nice catch @CreepGin!

Better still would be to have a consistent return value in the if (httpsOptions === true) case, but that may not be straightforward to get patched through...

This at least avoids trying to start everything twice. 😆

@gigabo gigabo added the bug An issue with the system label Aug 16, 2016
@gigabo
Copy link
Contributor

gigabo commented Aug 16, 2016

^ File #569 to track that.

Thanks @CreepGin!

@gigabo gigabo merged commit 6adf661 into redfin:master Aug 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue with the system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants