From 1df222f179f3c7e6181a319ecc90a1e0fb0a2975 Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 18 Jun 2012 16:04:36 -0700 Subject: [PATCH] Fix breakage introduced in de65ba7 --- lib/net.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/net.js b/lib/net.js index 80e38376668..5ffbea7aa53 100644 --- a/lib/net.js +++ b/lib/net.js @@ -236,7 +236,6 @@ Object.defineProperty(Socket.prototype, 'bufferSize', { Socket.prototype.pause = function() { - if (this._paused) return; this._paused = true; if (this._connecting) { // will actually pause once the handle is established. @@ -249,7 +248,6 @@ Socket.prototype.pause = function() { Socket.prototype.resume = function() { - if (!this._paused) return; this._paused = false; if (this._connecting) { // will actually resume once the handle is established.