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(-) -- unsubscribe: yahns-public+unsubscr...@yhbt.net archive: https://yhbt.net/yahns-public/