Skip to content

Commit

Permalink
resume the socket when use socks-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
virteman committed Jun 12, 2015
1 parent b06b7c4 commit c65706d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/socks-agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ SocksAgent.prototype.addRequest = function(req, host, port, localAddress) {
}
} else {
req.onSocket(socket);
//have to resume this socket when node 12
socket.resume();
}
});

Expand Down

0 comments on commit c65706d

Please sign in to comment.