From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS30633 207.244.64.0/18 X-Spam-Status: No, score=-1.5 required=3.0 tests=AWL,BAYES_00,RCVD_IN_XBL, RDNS_NONE,SPF_FAIL,SPF_HELO_FAIL,URIBL_BLOCKED shortcircuit=no autolearn=no version=3.3.2 X-Original-To: yahns-public@yhbt.net Received: from 80x24.org (unknown [207.244.70.35]) by dcvr.yhbt.net (Postfix) with ESMTP id 9EF5E20A34 for ; Wed, 27 Apr 2016 00:27:12 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Subject: [PATCH 0/5] proxy_pass resource cleanup fixes Date: Wed, 27 Apr 2016 00:26:59 +0000 Message-Id: <20160427002704.10660-1-e@80x24.org> List-Id: Lightly-tested, I'm going to let these run on YHBT.net for a bit before cutting a new release. And all this proxy_pass stuff could still use some cleanup and refactoring, it's hairy! Eric Wong (5): 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 lib/yahns/proxy_http_response.rb | 37 +++++++++++++++++++++---------------- lib/yahns/proxy_pass.rb | 5 +++-- lib/yahns/wbuf_common.rb | 1 + test/test_proxy_pass.rb | 15 +++++++++++++++ 4 files changed, 40 insertions(+), 18 deletions(-)