Skip to content

http: remove default 'error' listener on upgrade

Remove the default 'error' listener when the socket is freed. This is consistent with the client and prevents spurious 'clientError' events from being emitted on the server.

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
Affected core subsystem(s)

http

Merge request reports

Loading