http: use `autoDestroy: true` in incoming message
Enable the default autoDestroy: true
option in IncomingMessage.
Refactor _http_client
and _http_server
to remove any manual destroying/closing of IncomingMessage.
Refactor IncomingMessage destroy
method to use the standard implementation of the stream module and move the abort logic
inside of it.
Ref:
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines