projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adc6b8
)
net_uv: sockets should be writable during connection
author
Henry Rawas
<henryr@schakra.com>
Thu, 14 Jul 2011 21:18:17 +0000
(14:18 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Thu, 14 Jul 2011 21:18:17 +0000
(14:18 -0700)
lib/net_uv.js
patch
|
blob
|
history
diff --git
a/lib/net_uv.js
b/lib/net_uv.js
index 816529afd66e9cb105ab4e8d7cb7b91acf5d3ecf..a876f6fadb7b88a52eeee9f5bba64277907a518d 100644
(file)
--- 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);