Skip to content

net: check `autoSelectFamilyAttemptTimeout` is positive

In document, autoSelectFamilyAttemptTimeout is described as positive integer because it's time unit. But there is no checking whether it's positive integer.

Refs: https://github.com/nodejs/node/blob/main/doc/api/net.md#socketconnectoptions-connectlistener

Merge request reports

Loading