mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
001117
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d11c322d1
commit
46608d361a
3 changed files with 3 additions and 16 deletions
|
@ -769,6 +769,7 @@ ruby_connect(fd, sockaddr, len, socks)
|
|||
}
|
||||
}
|
||||
#ifdef HAVE_FCNTL
|
||||
mode &= ~NONBLOCKING; /* needed? */
|
||||
fcntl(fd, F_SETFL, mode);
|
||||
#endif
|
||||
return status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue