Skip to content

http: validate timeout in ClientRequest()

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/26143 into master

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

Fixes: https://github.com/nodejs/node/issues/26143

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading