Skip to content

net: handle normalized args in normalizeArgs()

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

This commit allows normalizeArgs() to be called with its own previous output. Prior to this change, multiple calls to normalizeArgs() would create a nested structure that produced invalid arguments.

cc: @vdeturckheim @joyeecheung @mcollina @jasnell (from https://github.com/othiym23/async-listener/pull/110)

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

net

Merge request reports

Loading