Skip to content

Revert "http: do not leak error listeners"

Rodrigo Muino Tomonari requested to merge github/fork/lpinca/revert/736a7d8 into main

This reverts commit 736a7d8d.

The patch attempted to fix an issue, signaled by a warning, caused by an invalid API usage. However it introduced a behavior change that is breaking userland modules.

It is a user error, so restore the original behavior and have the user investigate and fix the issue in their code.

Refs: https://github.com/nodejs/node/pull/43587#issuecomment-1272092166 Refs: https://github.com/nodejs/node/pull/43587#issuecomment-1272094883

Merge request reports

Loading