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: |
* what's cooking in kgio.git
@ 2012-12-27  2:13  4% Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-12-27  2:13 UTC (permalink / raw)
  To: kgio

It's been a while since the last release :x

I've pushed out some changes which enable TCP Fast Open on Linux 3.7

I probably should've released 2.8.0 over the summer, but I
forgot about it and nobody reminded me (just ask here! :)

Anyways I'll see about releasing 2.8.0 sometime this week.
Comments greatly appreciated, especially on the API for
the TCP Fast Open client (patch coming in reply).

Eric Wong (10):
      tryopen: avoid ambiguous name for subst function
      test_poll: skip signal torture on Debian GNU/kfreebsd
      test/lib_read_write: wait for readability before tryread
      test workaround for platforms with unreliable signals
      tryopen: include errno.h header just in case
      connect: split out my_socket() function
      connect: factor out tcp_getaddr() function
      Kgio::Socket.new retains compatibility with Socket.new
      implement TCP Fast Open support (client + server)
      read_write: remove unused variable

Sokolov Yura 'funny-falcon (3):
      Fix UnixClientReadServerWrite test class name
      use rb_str_subseq for tail string on write
      add `#kgio_writev` and `#kgio_trywritev`

 ext/kgio/connect.c                         | 142 ++++++++++---
 ext/kgio/extconf.rb                        |   4 +
 ext/kgio/kgio.h                            |  23 +++
 ext/kgio/kgio_ext.c                        |  35 ++++
 ext/kgio/read_write.c                      | 310 ++++++++++++++++++++++++++++-
 ext/kgio/tryopen.c                         |   5 +-
 test/lib_read_write.rb                     | 129 ++++++++++++
 test/lib_server_accept.rb                  |   8 +-
 test/test_poll.rb                          |   8 +-
 test/test_socket.rb                        |  14 ++
 test/test_tfo.rb                           |  70 +++++++
 test/test_unix_client_read_server_write.rb |   2 +-
 12 files changed, 715 insertions(+), 35 deletions(-)


^ permalink raw reply	[relevance 4%]

* [PATCH 2/3] test/lib_read_write: wait for readability before tryread
  2012-07-11 22:34  5% [PATCH 0/3] test fixes for GNU/kFreeBSD (and possibly other *BSDs) Eric Wong
@ 2012-07-11 22:34  7% ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-07-11 22:34 UTC (permalink / raw)
  To: kgio

From: Eric Wong <ew@debkfreebsd.(none)>

On FreeBSD, writing to a loopback TCP socket does not guarantee
immediate readability on the other end.

Tested on Debian GNU/kFreeBSD 6.0
---
 test/lib_read_write.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/lib_read_write.rb b/test/lib_read_write.rb
index 04d6fc6..586e826 100644
--- a/test/lib_read_write.rb
+++ b/test/lib_read_write.rb
@@ -242,6 +242,7 @@ module LibReadWriteTest
 
   def test_tryread_too_much
     assert_equal nil, @wr.kgio_trywrite("hi")
+    assert_equal @rd, @rd.kgio_wait_readable
     assert_equal "hi", @rd.kgio_tryread(4)
   end
 
-- 
1.7.2.5



^ permalink raw reply related	[relevance 7%]

* [PATCH 0/3] test fixes for GNU/kFreeBSD (and possibly other *BSDs)
@ 2012-07-11 22:34  5% Eric Wong
  2012-07-11 22:34  7% ` [PATCH 2/3] test/lib_read_write: wait for readability before tryread Eric Wong
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2012-07-11 22:34 UTC (permalink / raw)
  To: kgio

Pushed to "master" of git://bogomips.org/kgio
(commit f020550fc802f299fdcdec695ac80d53ef3d24d9)

     1	test_poll: skip signal torture on Debian GNU/kfreebsd
     2	test/lib_read_write: wait for readability before tryread
     3	test workaround for platforms with unreliable signals

 test/lib_read_write.rb    | 1 +
 test/lib_server_accept.rb | 8 ++++----
 test/test_poll.rb         | 8 +++-----
 3 files changed, 8 insertions(+), 9 deletions(-)


^ permalink raw reply	[relevance 5%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-07-11 22:34  5% [PATCH 0/3] test fixes for GNU/kFreeBSD (and possibly other *BSDs) Eric Wong
2012-07-11 22:34  7% ` [PATCH 2/3] test/lib_read_write: wait for readability before tryread Eric Wong
2012-12-27  2:13  4% what's cooking in kgio.git 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).