mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Recycle http client parsers
This commit is contained in:
1 parent
1efd261572
commit
b7947e45c0
1 file changed
+2
@@ -616,6 +616,8 @@ function Client ( ) {
|
||||
// If there are more requests to handle, reconnect.
|
||||
if (requests.length > 0) {
|
||||
self._reconnect();
|
||||
} else {
|
||||
freeParser(parser);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user