about summary refs log tree commit homepage
path: root/rainbows.gemspec
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-02-13 00:53:34 -0800
committerEric Wong <normalperson@yhbt.net>2010-02-13 00:53:34 -0800
commit007bb3d73feacd30c8595025288f8a9e53ca5157 (patch)
treec3991df71ae89aff8550fe6191a527295c9cb905 /rainbows.gemspec
parentde6b5dd5ffff6e21064f78f24c30c59e391ff370 (diff)
downloadrainbows-007bb3d73feacd30c8595025288f8a9e53ca5157.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.
Diffstat (limited to 'rainbows.gemspec')
-rw-r--r--rainbows.gemspec4
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>)