From: Eric Wong <e@80x24.org>
To: yahns-public@yhbt.net
Subject: [PATCH \0/5] another round of proxy-related bugfixes!
Date: Tue, 7 Jun 2016 07:39:03 +0000 [thread overview]
Message-ID: <20160607073908.31035-1-e@80x24.org> (raw)
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(-)
next reply other threads:[~2016-06-07 7:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 7:39 Eric Wong [this message]
2016-06-07 7:39 ` [PATCH 1/5] test_proxy_pass_no_buffering: fix racy test Eric Wong
2016-06-07 7:39 ` [PATCH 2/5] queue_*: check for closed IO objects Eric Wong
2016-06-07 7:39 ` [PATCH 3/5] cleanup graceful shutdown handling Eric Wong
2016-06-07 7:39 ` [PATCH 4/5] proxy_pass: more descriptive error messages Eric Wong
2016-06-07 7:39 ` [PATCH 5/5] proxy_pass: fix HTTP/1.0 backends on EOF w/o buffering Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/yahns/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160607073908.31035-1-e@80x24.org \
--to=e@80x24.org \
--cc=yahns-public@yhbt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/yahns.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).