diff options
author | Eric Wong <bofh@yhbt.net> | 2023-06-01 21:19:35 +0000 |
---|---|---|
committer | Eric Wong <bofh@yhbt.net> | 2023-06-05 09:17:18 +0000 |
commit | 66c4ed7957459de270cffedfd494562359386d4e (patch) | |
tree | 2c780b220798a615fc97f350355831eda093064f /Documentation | |
parent | 9d7bab0bc2211b20806d4d0289a7ea992e49a8a1 (diff) | |
download | unicorn-66c4ed7957459de270cffedfd494562359386d4e.tar.gz |
Rack::Chunked will be gone in Rack 3.1, so provide a non-middleware fallback which takes advantage of IO#write supporting multiple arguments in Ruby 2.5+. We still need to support Ruby 2.4, at least, since Rack 3.0 does. So a new (GC-unfriendly) Unicorn::WriteSplat module now exists for Ruby <= 2.4 users.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/unicorn.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/unicorn.1 b/Documentation/unicorn.1 index d76d40f..b2c5e70 100644 --- a/Documentation/unicorn.1 +++ b/Documentation/unicorn.1 @@ -176,7 +176,7 @@ As of Unicorn 0.94.0, RACK_ENV is exported as a process\-wide environment variable as well. While not current a part of the Rack specification as of Rack 1.0.1, this has become a de facto standard in the Rack world. .PP -Note the Rack::ContentLength and Rack::Chunked middlewares are also +Note the Rack::ContentLength middleware is also loaded by "deployment" and "development", but no other values of RACK_ENV. If needed, they must be individually specified in the RACKUP_FILE, some frameworks do not require them. |