Index: runtime/bin/socket_macos.cc |
diff --git a/runtime/bin/socket_macos.cc b/runtime/bin/socket_macos.cc |
index 708cd3cdea9bd926079f611df3870980e8563d57..b6b0e50432db99ef75989d17fcff17fba6f2ce79 100644 |
--- a/runtime/bin/socket_macos.cc |
+++ b/runtime/bin/socket_macos.cc |
@@ -99,6 +99,8 @@ intptr_t Socket::CreateBindConnect(const RawAddr& addr, |
return -1; |
} |
+ FDUtils::SetNonBlocking(fd); |
Søren Gjesse
2016/08/04 06:35:49
I think moving it to Create would be better - then
floitsch
2016/08/04 12:17:07
Done.
|
+ |
return Connect(fd, addr); |
} |