summaryrefslogtreecommitdiff
path: root/doc/api/util.md
diff options
context:
space:
mode:
authorszabolcsit <szabolcsit@hu.ibm.com>2018-11-06 17:07:59 +0100
committerRich Trott <rtrott@gmail.com>2018-11-14 18:21:56 -0800
commitf3b49cfa7b3c2887ca8147b3d47ce1834b3923bf (patch)
tree1c4826bbcd13cdb6e2130a726db7f78dc22da01e /doc/api/util.md
parentbd765d61d7425d82e80bdf2f4f27c0424221837b (diff)
downloadandroid-node-v8-f3b49cfa7b3c2887ca8147b3d47ce1834b3923bf.tar.gz
android-node-v8-f3b49cfa7b3c2887ca8147b3d47ce1834b3923bf.tar.bz2
android-node-v8-f3b49cfa7b3c2887ca8147b3d47ce1834b3923bf.zip
http: else case is not reachable
While checking the arguments passed to http.Server, the case where the options argument was of wrong type was not handled. Now it throws an ERR_INVALID_ARG_TYPE error if the options argument is not a function, object, null, or undefined. PR-URL: https://github.com/nodejs/node/pull/24176 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/util.md')
0 files changed, 0 insertions, 0 deletions