add client_header_buffer_size tuning parameter
commita7f5f17ba2047ef7143465f612007ea81871a79e
authorEric Wong <normalperson@yhbt.net>
Tue, 3 May 2011 01:05:11 +0000 (3 01:05 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 3 May 2011 01:05:11 +0000 (3 01:05 +0000)
treefa93430a846c83dd1c79c41f193e4dd73a08f516
parent01381ab4dfeb032c85e72724df889c7aa381aa32
add client_header_buffer_size tuning parameter

We're changing our default to 1K buffers to save memory.  This
should reduce memory usage of idle clients and lower pressure on
the MRI GC.  Rails applications using session cookies (the
default) may want to up this to 2K or more.
lib/rainbows.rb
lib/rainbows/client.rb
lib/rainbows/configurator.rb
lib/rainbows/coolio/client.rb
lib/rainbows/epoll/client.rb
lib/rainbows/ev_core.rb
lib/rainbows/http_server.rb
lib/rainbows/process_client.rb
lib/rainbows/xepoll_thread_spawn/client.rb
t/client_header_buffer_size.ru [new file with mode: 0644]
t/t0042-client_header_buffer_size.sh [new file with mode: 0644]