Skip to content

process,tls: stop relying on process.features

The process.features property is mutable by userland such that delete process.features will cause SNI and ALPN support for fail. Add the necessary properties to process.config('binding') so that we are not relying on a user-modifiable object.

Also clean up the GetFeatures funciton just a bit.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading