Unverified Commit 907941d4 authored by cjihrig's avatar cjihrig
Browse files

http: validate timeout in ClientRequest()

Validate the timeout option in the ClientRequest() constructor
to prevent asynchronously thrown validation errors.

PR-URL: https://github.com/nodejs/node/pull/26214
Fixes: https://github.com/nodejs/node/issues/26143


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarWyatt Preul <wpreul@gmail.com>
Reviewed-By: default avatarAli Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 49008630
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