diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-07-19 17:23:36 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-19 17:23:36 -0700 |
commit | c73984946fc8660aa9a5cf740bb104297294a392 (patch) | |
tree | 69c404915615fb0812ea9e47ddb1dbba4d6d8547 /lib/unicorn/app | |
parent | 344b85ff28e160daa6563ab7c80b733abdeb874a (diff) | |
download | unicorn-c73984946fc8660aa9a5cf740bb104297294a392.tar.gz |
"/dev/null" must be opened in binary mode for Rack-compliance. Additionally, avoid '' to create an empty string and use Unicorn::Z instead. Conflicts: lib/unicorn/app/exec_cgi.rb
Diffstat (limited to 'lib/unicorn/app')
-rw-r--r-- | lib/unicorn/app/exec_cgi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/app/exec_cgi.rb b/lib/unicorn/app/exec_cgi.rb index 67817c8..d0b31f8 100644 --- a/lib/unicorn/app/exec_cgi.rb +++ b/lib/unicorn/app/exec_cgi.rb @@ -124,7 +124,7 @@ module Unicorn::App else tmp = Unicorn::Util.tmpio - buf = Z.dup + buf = Unicorn::Z.dup while inp.read(CHUNK_SIZE, buf) tmp.syswrite(buf) end |