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:
eb10553
)
Attach connections on Macintosh too.
author
Ryan
<ry@tinyclouds.org>
Mon, 20 Jul 2009 10:52:03 +0000
(12:52 +0200)
committer
Ryan
<ry@tinyclouds.org>
Mon, 20 Jul 2009 10:52:03 +0000
(12:52 +0200)
src/net.cc
patch
|
blob
|
history
diff --git
a/src/net.cc
b/src/net.cc
index
5fad7a0
..
c71ab7f
100644
(file)
--- a/
src/net.cc
+++ b/
src/net.cc
@@
-187,6
+187,8
@@
Connection::Connect (const Arguments& args)
connection->opening = true;
ev_ref(EV_DEFAULT_UC);
+
+ connection->Attach();
#ifdef __APPLE__
/* HACK: Bypass the thread pool and do it sync on Macintosh.
@@
-202,7
+204,6
@@
Connection::Connect (const Arguments& args)
* In the future I will move to a system using adns or udns:
* http://lists.schmorp.de/pipermail/libev/2009q1/000632.html
*/
- connection->Attach();
eio_custom( Connection::Resolve
, EIO_PRI_DEFAULT
, Connection::AfterResolve