mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Recycle http client parsers
This commit is contained in:
@@ -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