about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index a503bf0..643bdd2 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -19,6 +19,7 @@ module Rainbows
 
     def quit!
       self.alive = false
+      Rainbows::HttpParser.quit
       self.expire ||= Time.now + (server.timeout * 2.0)
       server.class.const_get(:LISTENERS).map! { |s| s.close rescue nil }
       false
@@ -36,6 +37,7 @@ module Rainbows
   # :startdoc:
 
   require 'rainbows/const'
+  require 'rainbows/http_parser'
   require 'rainbows/http_server'
   require 'rainbows/response'
   require 'rainbows/client'