Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

http: allow createServer() to return a HTTPS server #8738

Closed
wants to merge 2 commits into from
Closed

http: allow createServer() to return a HTTPS server #8738

wants to merge 2 commits into from

Conversation

cjihrig
Copy link

@cjihrig cjihrig commented Nov 17, 2014

This commit allows the http module to create a HTTPS server if TLS options are passed to createServer() or the Server() constructor.

As pointed out in #8670, this is a convenience that is backwards compatible. People generally seemed to be in favor of this change (myself included), so I decided to PR it. However, I can also see an argument for this as a userland module. I'll leave it up to the maintainers to decide.

Closes #8670.

This commit allows the http module to create a HTTPS server
if TLS options are passed to createServer() or the Server()
constructor.
@jasnell
Copy link
Member

jasnell commented Aug 13, 2015

@cjihrig ... any reason to keep this open here?

@cjihrig
Copy link
Author

cjihrig commented Aug 15, 2015

Nope.

@cjihrig cjihrig closed this Aug 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants