http: remove reference to onParserExecute
authorTom Atkinson <atkinson.tommy@nsoft.ba>
Tue, 19 Jan 2016 22:16:55 +0000 (23:16 +0100)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
commitbee86bbb1223fd2c23c04b9ebe8fb6210a81a2dd
tree80ca7bb3aa577bf754660821a6aa2ff28a73ea77
parent89aeab901ac9e34c79be3854f1aa41f2a4fb6888
http: remove reference to onParserExecute

Parsers hold a reference to the socket associated with the request
through onParserExecute. This must be removed when the parser is
freed so that the socket can be garbage collected when destroyed.

Regression introduced in commit 59b91f1 ("http_parser: consume
StreamBase instance").

PR-URL: https://github.com/nodejs/node/pull/4773
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
lib/_http_common.js