From 88eea6156c45e9a24566c480270081c5a84d6ad3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 2 May 2016 19:36:14 +0000 Subject: yahns 1.12.4 - rack.hijack and proxy_pass bugfixes 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/ --- GIT-VERSION-GEN | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3-24-ge0c7