about summary refs log tree commit homepage
path: root/lib/unicorn/header_out.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicorn/header_out.rb')
-rw-r--r--lib/unicorn/header_out.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicorn/header_out.rb b/lib/unicorn/header_out.rb
index b0f66b9..95f2633 100644
--- a/lib/unicorn/header_out.rb
+++ b/lib/unicorn/header_out.rb
@@ -15,13 +15,14 @@ module Unicorn
     }.freeze
 
     def initialize
-      @sent = {}
+      @sent = { Const::CONNECTION => true }
       @out = []
     end
 
     def reset!
       @sent.clear
       @out.clear
+      @sent[Const::CONNECTION] = true
     end
 
     def merge!(hash)