diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-24 03:54:40 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-06 14:39:10 -0700 |
commit | 046d57cc8ff071a47a566e33a121b52be363be68 (patch) | |
tree | 0b02941912f2be1addd2474974ecf276943e9eea /lib | |
parent | 00e04ecc9fda39fa77e2f7fd11834ea977ba9ee8 (diff) | |
download | unicorn-046d57cc8ff071a47a566e33a121b52be363be68.tar.gz |
no need to pass an extra argument (cherry picked from commit 1a49a8295054a2e931f5288540acb858be8edcc8)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn/tee_input.rb | 2 |
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 |