There's a lot of duplication added, but having to deal with
OpenSSL in currently-released versions of Ruby is painful
(as are slow clients trying to download gigantic responses :P)
Will let this run for a week or so before cutting 1.13
Eric Wong (3):
test_proxy_pass_no_buffering: exclude rb/ru files, too
wbuf_lite: use StringIO instead of TmpIO
wbuf_lite: truncate StringIO when done
lib/yahns/http_client.rb | 26 ++++++++++++
lib/yahns/openssl_client.rb | 6 +--
lib/yahns/sendfile_compat.rb | 24 -----------
lib/yahns/wbuf_common.rb | 8 ----
lib/yahns/wbuf_lite.rb | 82 +++++++++++++++++++++++++++++++++---
test/test_proxy_pass_no_buffering.rb | 4 +-
test/test_tmpio.rb | 4 ++
test/test_wbuf.rb | 4 ++
8 files changed, 114 insertions(+), 44 deletions(-)
--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/