Skip to content

tls: allow TLSSocket construction with a list of ALPNProtocols

Brings the ALPNProtocols option of TLSSocket into line with the documentation. i.e. a list of strings for protocols may be used, and not only a buffer.

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

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)
  • tls

Merge request reports

Loading