diff options
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r-- | lib/unicorn.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index f45c613..13da564 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -14,6 +14,10 @@ module Unicorn autoload :ChunkedReader, 'unicorn/chunked_reader' autoload :Util, 'unicorn/util' + Z = '' # the stock empty string we use everywhere... + Z.force_encoding(Encoding::BINARY) if Z.respond_to?(:force_encoding) + Z.freeze + class << self def run(app, options = {}) HttpServer.new(app, options).start.join |