Files | Admin

Notes:

Release Name: 1.2.1

Notes:
kgio provides non-blocking I/O methods for Ruby without raising
exceptions on EAGAIN and EINPROGRESS.  It is intended for use with the
Unicorn and Rainbows! Rack servers, but may be used by other
applications.

* http://unicorn.bogomips.org/kgio/
* mongrel-unicorn@rubyforge.org
* git://git.bogomips.org/kgio.git

Changes:

This fixes our accept4() wrapper which did not work as expected
on some *BSD-based systems due to fcntl(fd, F_GETFL) returning
false information.  Linux 2.6+ users are unnaffected, including
those without accept4().

Also some RDoc fixes.



Changes: .document | 4 ++++ GIT-VERSION-GEN | 2 +- GNUmakefile | 2 +- ext/kgio/accept.c | 5 +++-- ext/kgio/connect.c | 3 ++- ext/kgio/kgio.h | 8 ++++---- ext/kgio/kgio_ext.c | 10 ++++------ ext/kgio/missing/accept4.h | 8 ++++++-- ext/kgio/read_write.c | 3 ++- ext/kgio/wait.c | 4 +++- 10 files changed, 30 insertions(+), 19 deletions(-) commit 49f0b98c69f1f0bf637953d0bfc96b764f00ab9b Author: Eric Wong Date: Thu Oct 7 07:15:49 2010 +0000 kgio 1.2.1 - doc and *BSD workarounds This fixes our accept4() wrapper which did not work as expected on some *BSD-based systems due to fcntl(fd, F_GETFL) returning false information. Linux 2.6+ users are unnaffected, including those without accept4(). Also some RDoc fixes. commit 03344bb763f5269afe7fafd56a47270719c7ef9e Author: Eric Wong Date: Thu Oct 7 07:14:07 2010 +0000 doc: fix RDoc generation Oops, completely broken by the splitting of the code. commit 637317eb479525dca543eda7a8977410bc43b832 Author: Eric Wong Date: Wed Oct 6 14:08:35 2010 -0700 accept4: workaround (P)OS X bug w/O_NONBLOCK Apparently fcntl(fd, F_GETFL) can return falsely return the O_NONBLOCK flag without actually having it set in the kernel. This is totally broken on the part of the OS. commit ca76c75f8a24d0cd6828fe16ca3790a277b35f8d Author: Eric Wong Date: Wed Oct 6 14:06:27 2010 -0700 build: pick on on modified extension files We build more than one file nowadays. commit 65f96b7750616bc210397c16eea40961e578a788 Author: Eric Wong Date: Wed Oct 6 11:51:04 2010 -0700 doc: fix typo in Kgio.accept_cloexec= doc oops...