diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-05-03 01:15:37 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-05-03 01:15:37 +0000 |
commit | e9a229c639dd6bda08a3fa8ce14af3688dc2ba63 (patch) | |
tree | 530b649bdabf4c9886ae2cf6fe695b70ac54d179 /lib/rainbows.rb | |
parent | a7f5f17ba2047ef7143465f612007ea81871a79e (diff) | |
download | rainbows-e9a229c639dd6bda08a3fa8ce14af3688dc2ba63.tar.gz |
Too confusing otherwise...
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r-- | lib/rainbows.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 0e6ca39..e151a32 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -68,7 +68,8 @@ module Rainbows # :stopdoc: class << self attr_accessor :client_header_buffer_size - attr_accessor :max_bytes, :keepalive_timeout + attr_accessor :client_max_body_size + attr_accessor :keepalive_timeout attr_accessor :server attr_accessor :cur # may not always be used attr_reader :alive @@ -77,7 +78,7 @@ module Rainbows # :startdoc: # the default max body size is 1 megabyte (1024 * 1024 bytes) - @max_bytes = 1024 * 1024 + @client_max_body_size = 1024 * 1024 # the default keepalive_timeout is 5 seconds @keepalive_timeout = 5 |