about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-26 21:16:27 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-26 21:16:27 +0000
commit85e228de580f2ffff0025695a523349cef79d9c7 (patch)
treea19574dfacc32aa76649648e0dc16c0e1c4dbf6e
parent1bdb4eda0d868223bd6b3d92db4545a02f5e14f9 (diff)
downloadrainbows-85e228de580f2ffff0025695a523349cef79d9c7.tar.gz
-N/--no-default-middleware needs a corresponding manpage entry.

Additionally, the Rack::Chunked/ContentLength middleware comment
is out-of-date as of unicorn v4.1.0
-rw-r--r--Documentation/rainbows.1.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/rainbows.1.txt b/Documentation/rainbows.1.txt
index 885bd28..dd735e8 100644
--- a/Documentation/rainbows.1.txt
+++ b/Documentation/rainbows.1.txt
@@ -58,6 +58,10 @@ with rackup(1) but strongly discouraged.
     For production deployments, specifying the "listen" directive in
     CONFIG_FILE is recommended as it allows fine-tuning of socket
     options.
+-N, \--no-default-middleware
+:   Disables loading middleware implied by RACK_ENV.  This bypasses the
+    configuration documented in the RACK ENVIRONMENT section, but still
+    allows RACK_ENV to be used for application/framework-specific purposes.
 
 # RACKUP COMPATIBILITY OPTIONS
 -o, \--host HOST
@@ -137,10 +141,10 @@ All unrecognized values for RACK_ENV are assumed to be
 "none".  Production deployments are strongly encouraged to use
 "deployment" or "none" for maximum performance.
 
-Note that the Rack::ContentLength and Rack::Chunked middlewares
-are never loaded by default.  If needed, they should be
-individually specified in the RACKUP_FILE, some frameworks do
-not require them.
+Note the Rack::ContentLength and Rack::Chunked middlewares are 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.
 
 # SEE ALSO