Eric Wong <[email protected]> wrote: > Simon Eskildsen <[email protected]> wrote: > > @@ -28,6 +29,7 @@ class Unicorn::HttpParser > > # Drop these frozen strings when Ruby 2.2 becomes more prevalent, > > # 2.2+ optimizes hash assignments when used with literal string keys > > HTTP_RESPONSE_START = [ 'HTTP', '/1.1 '] > > + EMPTY_ARRAY = [].freeze > > (minor) this was made before commit e06b699683738f22 > ("http_request: freeze constant strings passed IO#write") > but I've trivially fixed it up, locally.
And I actually screwed it up, pushed out ccc-tcp-v2 branch with that fix squashed in :x Writing tests, now... -- unsubscribe: [email protected] archive: https://bogomips.org/unicorn-public/
