summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-24 03:54:40 +0000
committerEric Wong <normalperson@yhbt.net>2010-07-06 14:39:10 -0700
commit046d57cc8ff071a47a566e33a121b52be363be68 (patch)
tree0b02941912f2be1addd2474974ecf276943e9eea
parent00e04ecc9fda39fa77e2f7fd11834ea977ba9ee8 (diff)
no need to pass an extra argument
(cherry picked from commit 1a49a8295054a2e931f5288540acb858be8edcc8)
-rw-r--r--lib/unicorn/tee_input.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb
index 8ff7258..7540e4f 100644
--- a/lib/unicorn/tee_input.rb
+++ b/lib/unicorn/tee_input.rb
@@ -25,7 +25,7 @@ module Unicorn
       if buf.size > 0
         parser.filter_body(buf2, buf) and finalize_input
         tmp.write(buf2)
-        tmp.seek(0)
+        tmp.rewind
       end
     end