about summary refs log tree commit homepage
path: root/lib/rainbows/rev_thread_spawn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/rev_thread_spawn.rb')
-rw-r--r--lib/rainbows/rev_thread_spawn.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/rainbows/rev_thread_spawn.rb b/lib/rainbows/rev_thread_spawn.rb
index 4eba6d9..b8aa420 100644
--- a/lib/rainbows/rev_thread_spawn.rb
+++ b/lib/rainbows/rev_thread_spawn.rb
@@ -18,9 +18,13 @@ module Rainbows
   #
   # Caveats:
   #
-  # * TeeInput performance is terrible unless you match the
-  #   length argument of your env["rack.input"]#read calls
-  #   so that it is equal to Rev::IO::INPUT_SIZE
+  # * TeeInput performance under Ruby 1.8 is terrible unless you
+  #   match the length argument of your env["rack.input"]#read
+  #   calls so that it is greater than or equal to Rev::IO::INPUT_SIZE.
+  #   Most applications depending on Rack to do multipart POST
+  #   processing should be alright as the current Rev::IO::INPUT_SIZE
+  #   of 16384 bytes matches the read size used by
+  #   Rack::Utils::Multipart::parse_multipart.
 
   module RevThreadSpawn
     class Client < Rainbows::Rev::Client