-
Notifications
You must be signed in to change notification settings - Fork 877
Closed
Description
Task-tracking issue for 1.7:
- implement env["rack.input"] support env["rack.input"] #638
- asynchronous http client implement http client for mruby handler #637 totally async http client #651
- set MRB_INT64 on 64-bit system set MRB_INT64 on 64-bit system #639
- raise error when trying to read
rack.inputalready closed raise error when reading from a closed rack input #644 - use fiber for calling
#eachto read response from rack app-
http_requestshould return response progressively using#eachprogressive response from mruby #645 - provide
#as_strin response object implement InputStream#as_str #649 (changed to#jsonas part of totally async http client #651) - implement fast-path for rack-app directly passing back the response of
http_requestto core skip mruby layer when sending data obtained usinghttp_request#665
-
- respect
content-lengthheader supplied from rack app send content length when possible #664 - add tests for Pass header to upstream #565 adjust request header handling, add tests #666
- separate timeout for http_request?
- at the moment, the value is fixed to that defined using
proxy.timeout.io
- at the moment, the value is fixed to that defined using
- provide an easy-to-use API to copy the headers passed to
http_request, as well as setx-forwarded-forandx-forwarded-proto, via, etc.? - find a way to handle 399 response returned after async calls support 399 response from mruby handler running async #707
- related bug issues: fix crash in mrb_str_to_str #647 mruby fiber cleanups #648 Convert header name to lowercase in mruby handler #650 simplify by merging the chunked-sending logic on ruby-side to the main loop #658
body#closemust be called #680 fix and reduce the risk of GC-arena related leaks #701
related:
- support persistent connections in http1client not using the per-host connection pool?