net_uv: sockets should be writable during connection

This commit is contained in:
Henry Rawas
2011-07-14 14:18:17 -07:00
committed by Ryan Dahl
parent 8adc6b8921
commit a13506b48f

View File

@@ -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);