mirror of https://github.com/lukechilds/node.git
Browse Source
This commit restricts socket timeouts non-negative, finite numbers. Any other value throws a TypeError or RangeError. This prevents subtle bugs that can happen due to type coercion. Fixes: https://github.com/joyent/node/issues/8618 PR-URL: https://github.com/joyent/node/pull/8884 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>v0.11.16-release
cjihrig
10 years ago
4 changed files with 44 additions and 10 deletions
Loading…
Reference in new issue