kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: kgio@librelist.org
Subject: latest updates in kgio.git
Date: Thu, 17 Nov 2011 18:10:21 -0800	[thread overview]
Message-ID: <20111118021021.GA16507@dcvr.yhbt.net> (raw)
In-Reply-To: <20111118021021.GA16507@dcvr.yhbt.net>

Mostly documentation and test fixes without much effect on real code.

The biggest change is newly-connected sockets and opened files
(Kgio.tryopen) will have the close-on-exec descriptor flag set on it
when run under Ruby 2.0.0dev.  This is to remain consistent with the
behavior of core IO classes in Ruby 2.0.0dev.

accept()-ed sockets have always defaulted to close-on-exec in kgio,
regardless of Ruby version.

Summary of changes:

      connect: more descriptive error for TCP port
      use rb_update_max_fd() under MRI 1.9.3+
      TODO: update SSL/TLS support status :)
      LICENSE: s/GNU C Library/kgio/
      wait.c: fix misspelling in rdoc
      .wrongdoc.yml: add public/private email addresses
      test_poll: test for closing a polled IO in sighandler
      accept: always set O_NONBLOCK for accept()-ed sockets in 1.8
      accept: deprecate singleton Kgio.accept_* methods
      tests: remove tests for IO#nonblock? after accept
      connect,tryopen: set close-on-exec flag for new fds on Ruby 2.0+
      doc: update documentation regarding accept method flags

git://bogomips.org/kgio
master should be a40c1d4b30253c68d7997324bcebceb68018bc37

It's been a while since the last release, so I'm thinking about pushing
out 2.7.0 soon.  As always, feedback is greatly appreciated.


           reply	other threads:[~2011-11-18  2:10 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20111118021021.GA16507@dcvr.yhbt.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111118021021.GA16507@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=kgio@librelist.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).