Skip to content

net: noop destroyed socket

_write and _read can be called from 'connect' after Socket.destroy() has been called. This should be a noop.

Refs: https://github.com/nodejs/node/pull/30837

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

Merge request reports

Loading