lower header buffer sizes for synchronous models
commit8c086f095a2f3be0f71829af9037d99c79604a37
authorEric Wong <normalperson@yhbt.net>
Sat, 30 Apr 2011 06:56:47 +0000 (30 06:56 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 30 Apr 2011 06:56:47 +0000 (30 06:56 +0000)
treeb0f25996b5b303152dc5654d70f5aa8ea0279d20
parentbfb58da95e13f3061feb2c1f284efc80a13ba23c
lower header buffer sizes for synchronous models

HTTP headers are usually smaller than 4K, so 16K was way too
much for most users and often caused unnecessary GC runs.
EventMachine and Coolio models can all share the same initial
read buffer, so it's less urgent that they get this lowered for
now...
lib/rainbows/client.rb
lib/rainbows/process_client.rb