diff options
Diffstat (limited to 'lib/unicorn/http_request.rb')
-rw-r--r-- | lib/unicorn/http_request.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index d9cb8b2..e25517b 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -27,7 +27,6 @@ module Unicorn } NULL_IO = StringIO.new(Z) - TEE = TeeInput.new DECHUNKER = ChunkedReader.new LOCALHOST = '127.0.0.1'.freeze @@ -104,7 +103,7 @@ module Unicorn end end - inp = TEE.reopen(socket, length, body) + inp = TeeInput.new(socket, length, body) DEFAULTS[Const::STREAM_INPUT] ? inp : inp.consume else NULL_IO.closed? ? NULL_IO.reopen(Z) : NULL_IO |