kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] kgio 2.8.1 - minor improvements and test fixes
@ 2013-09-11  0:29  4% Eric Wong
  0 siblings, 0 replies; 4+ results
From: Eric Wong @ 2013-09-11  0:29 UTC (permalink / raw)
  To: kgio

Changes:

Improved error reporting for kgio_accept/kgio_tryaccept.
Minor size reduction throughout.  There are also several
test case fixes for race conditions.

Thanks to Hleb Valoshka and the Debian project for all the
help with this release!

Eric Wong (7):
      check syscall returns against < 0 instead of == -1
      accept: more informative exception on unknown family
      test_tryopen: skip EACCES test when euid == 0
      test/lib_read_write: account for larger-than-normal pipes
      test_poll: avoid potentially thread-unsafe test
      test_poll: preserve original trap(:USR1) handler
      test_poll: be less dependent on signal handler ordering

Hleb Valoshka (4):
      Change prefix of temporary sockets to prevent races
      Don't dump 20M in case of failure
      Create own directory for every unix socket in unit tests
      Close tempfile and unlink it immediately.

* http://bogomips.org/kgio/
* kgio@librelist.org
* git://bogomips.org/kgio.git
* http://bogomips.org/kgio/NEWS.atom.xml


^ permalink raw reply	[relevance 4%]

* Re: version 2.8.1
  @ 2013-09-09 18:57  4% ` Eric Wong
  0 siblings, 0 replies; 4+ results
From: Eric Wong @ 2013-09-09 18:57 UTC (permalink / raw)
  To: kgio

Hleb Valoshka <375gnu@gmail.com> wrote:
> Eric, have you any plans to release version 2.8.1. It seems to me that
> there are enough commits for that :)

Sure, I can release it in the next day or two.  I just pinged a user
who caused me to make 30c12374f8d23f0e635946fc38546820216457bf
(accept: more informative exception on unknown family).

I may replace the getnameinfo() call, too, so maybe it'll just be
2.9.0...


^ permalink raw reply	[relevance 4%]

* [PATCH 2/2] accept: more informative exception on unknown family
  2013-08-16  2:09  5% [PATCH 0/2] minor tweaks for potentially buggy platforms Eric Wong
@ 2013-08-16  2:09  7% ` Eric Wong
  0 siblings, 0 replies; 4+ results
From: Eric Wong @ 2013-08-16  2:09 UTC (permalink / raw)
  To: kgio

This may help us diagnose issues on strange OSes.
---
 ext/kgio/accept.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c
index 503b5e9..67a8ded 100644
--- a/ext/kgio/accept.c
+++ b/ext/kgio/accept.c
@@ -143,7 +143,9 @@ static VALUE in_addr_set(VALUE io, struct sockaddr_storage *addr, socklen_t len)
 		host_len = (long)INET6_ADDRSTRLEN;
 		break;
 	default:
-		rb_raise(rb_eRuntimeError, "unsupported address family");
+		rb_raise(rb_eRuntimeError,
+		         "unsupported address family: ss_family=%lu (socklen=%ld)",
+			 (unsigned long)addr->ss_family, (long)len);
 	}
 	host = rb_str_new(NULL, host_len);
 	host_ptr = RSTRING_PTR(host);
-- 
1.8.2.rc3.2.geae6cf5



^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] minor tweaks for potentially buggy platforms
@ 2013-08-16  2:09  5% Eric Wong
  2013-08-16  2:09  7% ` [PATCH 2/2] accept: more informative exception on unknown family Eric Wong
  0 siblings, 1 reply; 4+ results
From: Eric Wong @ 2013-08-16  2:09 UTC (permalink / raw)
  To: kgio

Hey all, I've just pushed out some minor tweaks to kgio.git and also
pushed out a 2.8.0.2.g30c1 prerelease to RubyGems.org

  gem install --pre kgio -v 2.8.0.2.g30c1

Testers (especially on non-Linux platforms!) appreciated.

The following changes since commit 8be51237720fd18cb45188f29c717bbac0ca1964:

  kgio 2.8.0 - TCP Fast Open, writev/trywritev (2013-01-18 10:52:31 +0000)

are available in the git repository at:

  git://bogomips.org/kgio.git master

for you to fetch changes up to 30c12374f8d23f0e635946fc38546820216457bf:

  accept: more informative exception on unknown family (2013-08-16 02:00:21 +0000)

----------------------------------------------------------------
Eric Wong (2):
      check syscall returns against < 0 instead of == -1
      accept: more informative exception on unknown family

 ext/kgio/accept.c     | 8 +++++---
 ext/kgio/connect.c    | 8 ++++----
 ext/kgio/nonblock.h   | 6 +++++-
 ext/kgio/read_write.c | 6 +++---
 ext/kgio/tryopen.c    | 4 ++--
 5 files changed, 19 insertions(+), 13 deletions(-)


^ permalink raw reply	[relevance 5%]

Results 1-4 of 4 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-08-16  2:09  5% [PATCH 0/2] minor tweaks for potentially buggy platforms Eric Wong
2013-08-16  2:09  7% ` [PATCH 2/2] accept: more informative exception on unknown family Eric Wong
2013-09-09 15:19     version 2.8.1 Hleb Valoshka
2013-09-09 18:57  4% ` Eric Wong
2013-09-11  0:29  4% [ANN] kgio 2.8.1 - minor improvements and test fixes Eric Wong

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).