1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/socket
normal 8b590c4663 UNIXSocket#recv_io: trigger GC when out of FDs
Make this behavior is consistent with our other FD-allocating
methods.

EMFILE and ENFILE are not documented nor can I trigger them when
using UNIXSocket#recv_io.  However, ENOMEM is documented, and
I've triggered EMSGSIZE on FreeBSD and truncated messages when
an EMFILE condition is hit on my system.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-06-24 22:08:15 +00:00
..
lib
.document
addrinfo.h
ancdata.c
basicsocket.c
constants.c
depend
extconf.rb search winsock libraries explicitly 2018-03-02 04:36:14 +00:00
getaddrinfo.c
getnameinfo.c
ifaddr.c
init.c io.c: workaround for EPROTOTYPE 2018-04-30 02:17:03 +00:00
ipsocket.c
mkconstants.rb Refactor ERB version checking for keyword arguments 2018-02-27 11:12:23 +00:00
option.c
raddrinfo.c
rubysocket.h
socket.c
sockport.h
sockssocket.c
tcpserver.c
tcpsocket.c
udpsocket.c
unixserver.c
unixsocket.c UNIXSocket#recv_io: trigger GC when out of FDs 2018-06-24 22:08:15 +00:00