[前][次][番号順一覧][スレッド一覧]

ruby-changes:38832

From: normal <ko1@a...>
Date: Tue, 16 Jun 2015 06:28:41 +0900 (JST)
Subject: [ruby-changes:38832] normal:r50913 (trunk): NEWS: update for socket API changes [ci skip]

normal	2015-06-16 06:28:00 +0900 (Tue, 16 Jun 2015)

  New Revision: 50913

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50913

  Log:
    NEWS: update for socket API changes [ci skip]
    
    [Feature #11242] [Feature #11229]

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 50912)
+++ NEWS	(revision 50913)
@@ -65,9 +65,15 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L65
 === 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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]