diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-05 07:54:13 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-05 07:54:13 +0000 |
commit | 3d147e9bcd8f99c94900a00181692c2a09c3c3c9 (patch) | |
tree | 8b0ef9c7895e71c24f9c501ad6d32a3dd856925c /lib/unicorn/tee_input.rb | |
parent | e184b9d0fb45b31d80645475e22f0bbbecd195f9 (diff) | |
download | unicorn-3d147e9bcd8f99c94900a00181692c2a09c3c3c9.tar.gz |
Unicorn::Util.tmpio => Unicorn::TmpIO.new
This is slightly shorter and hopefully easier to find.
Diffstat (limited to 'lib/unicorn/tee_input.rb')
-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 7e508fc..0dbfff6 100644 --- a/lib/unicorn/tee_input.rb +++ b/lib/unicorn/tee_input.rb @@ -32,7 +32,7 @@ class Unicorn::TeeInput < Struct.new(:socket, :req, :parser, self.buf = request.buf self.len = parser.content_length self.tmp = len && len < @@client_body_buffer_size ? - StringIO.new("") : Unicorn::Util.tmpio + StringIO.new("") : Unicorn::TmpIO.new self.buf2 = "" if buf.size > 0 parser.filter_body(buf2, buf) and finalize_input |