Skip to content

http: fix double AbortSignal registration

It looks like https://github.com/nodejs/node/pull/36431 added support for AbortSignal to net.createConnection and net.connect (will add tests/docs in a separate PR). This caused "double registration" to the AbortSignal. This PR fixes the issue by removing the signal from the internal calls to net.

Also added tests for http.agent

@benjamingr

Merge request reports

Loading