about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-02-04 22:02:52 +0000
committerEric Wong <e@80x24.org>2014-02-04 22:02:52 +0000
commit6cde1bf46f25fa46eb10acf0948a0a6290573964 (patch)
treef2f23ae7ecdf1bada30da9ae852cc4c544424d97
parent913714b848e2e41876c96a60fe9913197005625b (diff)
downloadyahns-6cde1bf46f25fa46eb10acf0948a0a6290573964.tar.gz
On responses with a known, non-zero Content-Length, yahns will now
automatically use the MSG_MORE flag when sending HTTP headers.  This
reduces TCP packet transmits and allows clients to wake up and read
one less time.

This is similar to the TCP_NOPUSH/TCP_CORK functionality of other
servers, but requires no additional syscalls.  It is only supported
on the Linux kernel, however (but yahns is currently epoll-only
with kqueue support on the horizon).

Eric Wong (5):
      quiet down EHOSTUNREACH errors
      http_response: use kgio_syssend with MSG_MORE
      load yahns/version file
      socket_helper: remove SO_REUSEPORT define for untested arches
      response: do not use MSG_MORE on empty bodies
-rwxr-xr-xGIT-VERSION-GEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 0c8b8b3..d212203 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -4,7 +4,7 @@
 CONSTANT = "Yahns::VERSION"
 RVF = "lib/yahns/version.rb"
 GVF = "GIT-VERSION-FILE"
-DEF_VER = "v1.0.0"
+DEF_VER = "v1.1.0"
 vn = DEF_VER
 
 # First see if there is a version file (included in release tarballs),