From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B8FE21FEAA for ; Tue, 7 Jun 2016 07:39:10 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Subject: [PATCH \0/5] another round of proxy-related bugfixes! Date: Tue, 7 Jun 2016 07:39:03 +0000 Message-Id: <20160607073908.31035-1-e@80x24.org> List-Id: 2/5 and 3/5 are generic fixes which may apply to maint. And yes, even fixed a bug in the PSGI app I'm proxying (which hosts are mail archives, and soon our git repo). The next thing to be smarter about avoiding temporary files entirely with "proxy_buffering: false". But I'll leave the currently running code as is for a day or so, first. Anyways, yahns should be able to handle HTTPS termination for arbitrarily large responses without touching the FS. But generating the arbitrarily large responses efficiently (outside of yahns/Ruby) is still tricky :x Eric Wong (5): test_proxy_pass_no_buffering: fix racy test queue_*: check for closed IO objects cleanup graceful shutdown handling proxy_pass: more descriptive error messages proxy_pass: fix HTTP/1.0 backends on EOF w/o buffering lib/yahns/fdmap.rb | 11 ++- lib/yahns/proxy_http_response.rb | 17 ++-- lib/yahns/queue_epoll.rb | 1 + lib/yahns/queue_kqueue.rb | 1 + lib/yahns/req_res.rb | 6 +- lib/yahns/server.rb | 3 +- lib/yahns/server_mp.rb | 2 +- lib/yahns/wbuf_lite.rb | 7 +- test/test_proxy_pass.rb | 4 +- test/test_proxy_pass_no_buffering.rb | 145 +++++++++++++++++++---------------- test/test_server.rb | 35 +++++++++ 11 files changed, 150 insertions(+), 82 deletions(-)