diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-06-26 15:52:39 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-06-29 04:04:27 -0700 |
commit | 665717d9d339748447e26d3eb0e34c9f6c64ce73 (patch) | |
tree | 0e09d07b23952ca25d86f9bf3b84bbc8ac0d8f1a /lib/unicorn/tee_input.rb | |
parent | 1f0d2e953af07b5bb904953767ee8c66deea669a (diff) | |
download | unicorn-665717d9d339748447e26d3eb0e34c9f6c64ce73.tar.gz |
We don't ever expose the @rd object to the public so Rack-applications won't ever call size() on it.
Diffstat (limited to 'lib/unicorn/tee_input.rb')
-rw-r--r-- | lib/unicorn/tee_input.rb | 3 |
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 |