diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-16 16:56:22 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-16 16:56:22 -0700 |
commit | 04c7fc37ab4fb2fbaa1b4a2570871713cf9d1319 (patch) | |
tree | 5a4baecb4b9ee95dd7ca7970141ffe48168e61a2 /lib/unicorn/cgi_wrapper.rb | |
parent | 045f6d741020d4a77bd68bd80891a97782d54850 (diff) | |
download | unicorn-04c7fc37ab4fb2fbaa1b4a2570871713cf9d1319.tar.gz |
This gives applications more rope to play with in case they have any reasons for changing some values of the default constants. Freezing strings for Hash assignments still speeds up MRI, so we'll keep on doing that for now (and as long as MRI supports frozen strings, I expect them to always be faster for Hashes though I'd be very happy to be proven wrong...)
Diffstat (limited to 'lib/unicorn/cgi_wrapper.rb')
-rw-r--r-- | lib/unicorn/cgi_wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/cgi_wrapper.rb b/lib/unicorn/cgi_wrapper.rb index 07ed979..64848b4 100644 --- a/lib/unicorn/cgi_wrapper.rb +++ b/lib/unicorn/cgi_wrapper.rb @@ -46,7 +46,7 @@ class Unicorn::CGIWrapper < ::CGI 'language' => 'Content-Language'.freeze, 'expires' => 'Expires'.freeze, 'length' => CONTENT_LENGTH, - }.freeze + } # Takes an a Rackable environment, plus any additional CGI.new # arguments These are used internally to create a wrapper around the |