Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
fix dangling sockets problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored and TooTallNate committed May 25, 2017
1 parent 26ce81d commit 7858f43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Agent.prototype.addRequest = function addRequest (req, host, port, localAddress)
}
} else {
req.onSocket(socket);
socket.unref();
}
});
sync = false;
Expand Down

0 comments on commit 7858f43

Please sign in to comment.