about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-02 19:36:14 +0000
committerEric Wong <e@80x24.org>2016-05-02 19:36:14 +0000
commit88eea6156c45e9a24566c480270081c5a84d6ad3 (patch)
tree2a77ba654ab923dc67d83dbceb0b9f4edd45e9f8
parent01a63717093d3b11a57abc92bc77463545189e4c (diff)
downloadyahns-88eea6156c45e9a24566c480270081c5a84d6ad3.tar.gz
This release fixes some resource leaks in uncommonly used parts
of yahns as well as including some documentation improvements.
No need to upgrade unless you rely on rack.hijack for responses
or use the (currently-undocumented) proxy_pass module(*).

9 non-merge changes since 1.12.3:

      proxy_pass: honor wbuf_persist when ending response
      proxy_http_response: fix non-terminated fast responses, too
      test_proxy_pass: test for auto chunking on 1.0 backends
      wbuf: drop persistence if writing to client fails
      proxy_http_response: cleanup: avoid redundant setting of "alive"
      proxy_http_response: do not persist upstream on slow clients
      proxy_pass: drop resources immediately on errors
      document Rack::Chunked/ContentLength semi-requirements
      extras/exec_cgi: document cgit example

 Documentation/yahns-rackup.pod    | 10 ++++++++++
 GIT-VERSION-GEN                   |  2 +-
 examples/yahns_rack_basic.conf.rb |  6 ++++++
 extras/exec_cgi.rb                |  8 ++++++++
 lib/yahns/proxy_http_response.rb  | 40 ++++++++++++++++++++++-----------------
 lib/yahns/proxy_pass.rb           |  5 +++--
 lib/yahns/wbuf_common.rb          |  1 +
 test/test_proxy_pass.rb           | 15 +++++++++++++++
 8 files changed, 67 insertions(+), 20 deletions(-)

(*) 1.13.0 will include refactoring in proxy_pass and possibly
    documenting it as stable-enough-for-public use:

    https://yhbt.net/yahns-public/20160220081619.GA10850@dcvr.yhbt.net/t/
-rwxr-xr-xGIT-VERSION-GEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 926dc25..af39a2d 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -5,7 +5,7 @@
 CONSTANT = "Yahns::VERSION"
 RVF = "lib/yahns/version.rb"
 GVF = "GIT-VERSION-FILE"
-DEF_VER = "v1.12.3"
+DEF_VER = "v1.12.4"
 vn = DEF_VER.dup
 
 # First see if there is a version file (included in release tarballs),