summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-06-26 15:52:39 -0700
committerEric Wong <normalperson@yhbt.net>2009-06-29 04:04:27 -0700
commit665717d9d339748447e26d3eb0e34c9f6c64ce73 (patch)
tree0e09d07b23952ca25d86f9bf3b84bbc8ac0d8f1a
parent1f0d2e953af07b5bb904953767ee8c66deea669a (diff)
We don't ever expose the @rd object to the public so
Rack-applications won't ever call size() on it.
-rw-r--r--lib/unicorn/tee_input.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb
index 1e7afef..9e66837 100644
--- a/lib/unicorn/tee_input.rb
+++ b/lib/unicorn/tee_input.rb
@@ -28,9 +28,6 @@ module Unicorn
       @wr = File.open(tmp.path, 'wb')
       @rd.sync = @wr.sync = true
 
-      def @rd.size
-        stat.size
-      end
       tmp.close!
     end