From a13506b48f7d35c80b86f2aadd4da9f91dc73d20 Mon Sep 17 00:00:00 2001 From: Henry Rawas Date: Thu, 14 Jul 2011 14:18:17 -0700 Subject: [PATCH] net_uv: sockets should be writable during connection --- lib/net_uv.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/net_uv.js b/lib/net_uv.js index 816529afd66..a876f6fadb7 100644 --- a/lib/net_uv.js +++ b/lib/net_uv.js @@ -365,6 +365,7 @@ Socket.prototype.connect = function(port /* [host], [cb] */) { timers.active(this); self._connecting = true; + self.writable = true; if (typeof host == 'string') { debug("connect: find host " + host);