Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From 1df222f179f3c7e6181a319ecc90a1e0fb0a2975 Mon Sep 17 00:00:00 2001
From: isaacs <i@izs.me>
Date: Mon, 18 Jun 2012 16:04:36 -0700
Subject: [PATCH] Fix breakage introduced in de65ba7
---
lib/net.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/net.js b/lib/net.js
index 80e3837..5ffbea7 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.
--
1.7.5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.