yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH \0/5] another round of proxy-related bugfixes!
@ 2016-06-07  7:39 Eric Wong
  2016-06-07  7:39 ` [PATCH 1/5] test_proxy_pass_no_buffering: fix racy test Eric Wong
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Eric Wong @ 2016-06-07  7:39 UTC (permalink / raw)
  To: yahns-public

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-07  7:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07  7:39 [PATCH \0/5] another round of proxy-related bugfixes! Eric Wong
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

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).