Skip to content

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.

Not removing this causes the last 1000 sockets used for inbound http requests to go uncollected after being destroyed.

Code was introduced in 59b91f14.

Merge request reports

Loading