about summary refs log tree commit homepage
tag namev1.12.4 (463e0e76bcd4178f9c6a4ff83ff1d0ab28e95578)
tag date2016-05-02 19:43:32 +0000
tagged byEric Wong <e@80x24.org>
tagged objectcommit 88eea6156c...
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: