Commit d4050b38 authored by Sam Roberts's avatar Sam Roberts
Browse files

tls: document and test option-less createServer

Either the options or the listener argument to tls.createServer() was
optional, but not both. This makes no sense, so align the argument
checking and documentation with net.createServer(), which accepts the
same option sequence, and which tls.createServer() is modelled on.

PR-URL: https://github.com/nodejs/node/pull/9800


Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
parent c3839f7e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment