diff options
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/configurator.rb | 2 | ||||
-rw-r--r-- | lib/unicorn/const.rb | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index a044e5d..d522c54 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -388,6 +388,8 @@ class Unicorn::Configurator # The maximum size (in +bytes+) to buffer in memory before # resorting to a temporary file. Default is 112 kilobytes. + # This option has no effect if "rewindable_input" is set to + # +false+. def client_body_buffer_size(bytes) set_int(:client_body_buffer_size, bytes, 0) end diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index 6bccdbc..2010e9d 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -7,8 +7,8 @@ # improve things much compared to constants. module Unicorn::Const - # The current version of Unicorn, currently 3.0.1 - UNICORN_VERSION = "3.0.1" + # The current version of Unicorn, currently 3.1.0 + UNICORN_VERSION = "3.1.0" # default TCP listen host address (0.0.0.0, all interfaces) DEFAULT_HOST = "0.0.0.0" @@ -23,7 +23,8 @@ module Unicorn::Const CHUNK_SIZE = 16 * 1024 # Maximum request body size before it is moved out of memory and into a - # temporary file for reading (112 kilobytes). + # temporary file for reading (112 kilobytes). This is the default + # value of of client_body_buffer_size. MAX_BODY = 1024 * 112 # :stopdoc: |