LATEST in kgio-2.2.0 vs LATEST in kgio-2.3.0

- old
+ new

@@ -1,25 +1,14 @@ -=== kgio 2.2.0 - kinder, gentler I/O for the Internets / 2011-02-04 03:07 UTC +=== kgio 2.3.0 - MSG_PEEK and poll(2) support / 2011-02-09 10:26 UTC - * sockets accept()ed by a TCP_NOPUSH/TCP_CORK listener - automatically flush on kgio_*read calls if there is pending - data. "Kgio.autopush = false" disables this globally, - and Kgio::Socket also get "kgio_autopush=" to enable/disable - on a per-object individual basis. + recv() with MSG_PEEK for sockets is added with the try* + interface. SocketMethods#kgio_trypeek and + SocketMethods#kgio_peek or Kgio.trypeek for non-Kgio-enabled + sockets. - * ECONNRESET exceptions get empty backtraces for kgio_*read. - There's nothing a programmer can do about these, so there's - no point in going through the expensive backtrace generation - process. + For Ruby 1.9 only: poll(2) is exposed via the Kgio.poll + singleton method and should provide an alternative for IO.select + users. - * Kgio.try* singleton methods added for working with non-Kgio - enhanced objects. No more needing to use Object#extend - and blowing away your method cache to make existing I/O - objects kinder and gentler. - - * IPv6 support should be complete, systems without a native - getaddrinfo(3) are now unsupported (and will remain so - unless somebody complains). - - There should be no other backwards-incompatible changes other - than requiring getaddrinfo(3) and friends for IPv6 support. + Both of these new features should work well on modern Unix-like + operating systems.