diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-02-13 00:53:34 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-02-13 00:59:58 -0800 |
commit | c761c155d839a6e032a3e630ae577bf863c3bcc4 (patch) | |
tree | ec13e1885871ff33358036932a502fe12dd0bbef | |
parent | 71b8fff3d8d171c9770bb8c69767341c10d9c962 (diff) | |
download | rainbows-c761c155d839a6e032a3e630ae577bf863c3bcc4.tar.gz |
The HTTP parser in Unicorn <= 0.96.0 did not use the Ruby API correctly. While this bug did not affect Unicorn itself, Rainbows! allocates a new Unicorn::HttpParser object for every client connection and Unicorn did not properly setup the parser object to be freed.
-rw-r--r-- | rainbows.gemspec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rainbows.gemspec b/rainbows.gemspec index 3c9f1b8..fc6be20 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -41,7 +41,9 @@ Gem::Specification.new do |s| s.test_files = test_files # we need Unicorn for the HTTP parser and process management - s.add_dependency(%q<unicorn>, ["~> 0.95.0", "< 0.97.0"]) + # The HTTP parser in Unicorn < 0.96.1 did not use the Ruby + # API correctly and resulted in a memory leak + s.add_dependency(%q<unicorn>, ["~> 0.96.1", "< 0.97.0"]) # Unicorn already depends on Rack # s.add_dependency(%q<rack>) |