* what's cooking in kgio.git
@ 2012-12-27 2:13 6% Eric Wong
0 siblings, 0 replies; 2+ 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 6%]
* Re: Proplems building on Ubuntu 12.10 server 64bit
@ 2012-11-21 23:19 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2012-11-21 23:19 UTC (permalink / raw)
To: kgio
Eric Wong <normalperson@yhbt.net> wrote:
> stuart <stuart@stuartk.com> wrote:
> > I'm having trouble building kgio 2.7.4 on Ubuntu 12.10 x86_64 with JRuby installed by RVM
> >
> > It appears that tryopen.c needs #include <errno.h> otherwise I get the error build log below.
>
> Yes, patch coming.
Pushed to master on git://bogomips.org/kgio
>From 8b4df8ece93ddc4e2fb685905461c1ed27b22295 Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson@yhbt.net>
Date: Wed, 21 Nov 2012 23:16:00 +0000
Subject: [PATCH] tryopen: include errno.h header just in case
errno.h is not guaranteed to be included in existing headers,
so we need to #include it to ensure errno and friends are
usable.
Thanks to stuart on the kgio mailing list for noticing
ref: <062571308.133355.1353536890665.JavaMail.sas1@172.29.251.236>
---
ext/kgio/tryopen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ext/kgio/tryopen.c b/ext/kgio/tryopen.c
index f8044a5..0ee6a54 100644
--- a/ext/kgio/tryopen.c
+++ b/ext/kgio/tryopen.c
@@ -14,6 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <errno.h>
#include "set_file_path.h"
#include "ancient_ruby.h"
--
Eric Wong
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-11-21 22:28 Proplems building on Ubuntu 12.10 server 64bit stuart
2012-11-21 23:14 ` Eric Wong
2012-11-21 23:19 7% ` Eric Wong
2012-12-27 2:13 6% 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).