diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-23 18:57:46 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-23 18:57:46 -0700 |
commit | 86e4849c08da3c5917844ce52782515731ef8df1 (patch) | |
tree | 7605d749f1028830a2ad3a1aecf3d44a7bc76938 /lib/unicorn/http_request.rb | |
parent | d9c97a2e04e0455e2d2aa3e5ec6439c3b97a1b7c (diff) | |
download | unicorn-86e4849c08da3c5917844ce52782515731ef8df1.tar.gz |
It was just a waste of space and would've caused line wrapping. This reinstates the "unicorn" prefix when we create tempfiles, too.
Diffstat (limited to 'lib/unicorn/http_request.rb')
-rw-r--r-- | lib/unicorn/http_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 0de496f..24da085 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -96,7 +96,7 @@ module Unicorn remain = content_length - http_body.length # must read more data to complete body - @body = remain < Const::MAX_BODY ? StringIO.new : Tempfile.new('') + @body = remain < Const::MAX_BODY ? StringIO.new : Tempfile.new('unicorn') @body.binmode @body.sync = true @body.syswrite(http_body) |