From e9a229c639dd6bda08a3fa8ce14af3688dc2ba63 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 3 May 2011 01:15:37 +0000 Subject: s/max_bytes/client_max_body_size/ for consistency Too confusing otherwise... --- lib/rainbows.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/rainbows.rb') 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 -- cgit v1.2.3-24-ge0c7