1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NEWS: update for socket API changes [ci skip]

[Feature #11242] [Feature #11229]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2015-06-15 21:28:00 +00:00
parent a02a3f4649
commit d51065b011

12
NEWS
View file

@ -65,9 +65,15 @@ with all sufficient information, see the ChangeLog file.
=== Stdlib updates (outstanding ones only)
* Socket
* Socket#accept_nonblock and Socket#connect_nonblock supports
`exception :false` to return symbols.
Ditto for TCPServer#accept_nonblock, UNIXServer#accept_nonblock.
* Socket#connect_nonblock, Socket#accept_nonblock,
TCPServer#accept_nonblock, UNIXServer#accept_nonblock,
BasicSocket#recv_nonblock, BasicSocket#recvmsg_nonblock,
BasicSocket#sendmsg_nonblock all support `exception :false` to return
:wait_readable or :wait_writable symbols instead of raising
IO::WaitReadable or IO::WaitWritable exceptions
* BasicSocket#recv and BasicSocket#recv_nonblock allow an output
String buffer argument like IO#read and IO#read_nonblock to reduce
GC overhead
* ObjectSpace (objspace)
* ObjectSpace.count_imemo_objects is added.