about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-11 21:13:26 +0000
committerEric Wong <e@80x24.org>2015-11-11 21:13:26 +0000
commit1a08a350c0b504ff31acf0e3ac0b6cdfe75ef521 (patch)
tree432b1bdd427440d84e7f8be6681fcb65d65e079a
parent961d5ba545995250c7f2ca26600c0248ac3120f9 (diff)
downloadcmogstored-1a08a350c0b504ff31acf0e3ac0b6cdfe75ef521.tar.gz
A bunch of minor changes; most notable is systemd-style socket
activation support.  This was easy-to-add since we've always had
socket activation support for nginx-style SIGUSR2 upgrades.

This places no link or runtime dependency on libsystemd, so the
LISTEN_FDS and LISTEN_PID environment variables may be used in other
init systems as well.  While I have my own reservations about
systemd itself, I also strongly believe in using socket activation
to prevent downtime.

Behavior changes:

Bad Range: headers return 416 responses in more cases for invalid
ranges (e.g. miscalculated ranges such as "1--1", while
completely wrong ones (lacking a "bytes=" prefix)) are ignored
entirely as in nginx.

Bugfixes:

There are also some cleanups to avoid dying on OOM in more places
on weird systems which trigger OOM.  More work on this is ongoing.

Also updates to the latest gnulib.git
commit f197c2c9e5e0d12c373f26d5b3211809457bc972
("intprops: new public macro EXPR_SIGNED")
along with a change which fixes a memory leak when people
build from cmogstored.git using gnulib
commit c6148bca89e9465fd6ba3a10d273ec4cb58c2dbe
or later ("mountlist: add me_mntroot field on Linux machines").
This memory leak did not affect any released tarballs of cmogstored.

shortlog of changes since 1.4.3:

      doc: use "builder" RubyGem to generate Atom feed
      dev.c: fail gracefully on out-of-memory errors
      do not die on OOM when for mgmt paths
      HACKING: update URLs to reduce redirects
      http: return 416 errors in more cases for bad Ranges
      update .gitignores for latest autotools + gnulib
      Rakefile: remove text-only part from the Atom feed
      support systemd-style socket activation via environment
      set TCP listener options on inherited sockets
      doc: add example systemd config files
      use free_mount_entry from gnulib instead of rolling our own
      fix tmpdir dependency for slow Ruby tests
      doc: publish examples directory to website
-rw-r--r--README3
1 files changed, 3 insertions, 0 deletions
diff --git a/README b/README
index e7e9876..791cb5b 100644
--- a/README
+++ b/README
@@ -78,6 +78,9 @@ Source tarballs suitable for distribution are housed here:
 The latest stable release is:
         http://bogomips.org/cmogstored/files/cmogstored-1.4.3.tar.gz
 
+The latest release candidate is:
+        http://bogomips.org/cmogstored/files/pre/cmogstored-1.5.0rc1.tar.gz
+
 See http://bogomips.org/cmogstored/NEWS for release notes
 
 Source code