diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-05 15:16:18 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-09 19:50:44 -0800 |
commit | a1c7992d47ac820c64604b8aeb8779a0bf741fcf (patch) | |
tree | b40dd375c1de2abbb38e17a1e3f6041915aa518f /lib/unicorn/header_out.rb | |
parent | 07846bcac6604babf0dd1f296d99c148b63340d6 (diff) | |
download | unicorn-a1c7992d47ac820c64604b8aeb8779a0bf741fcf.tar.gz |
The previous API was very flexible, but I don't think many people really cared for it... We now repeatedly use the same HeaderOut in each process since I completely don't care for multithreading.
Diffstat (limited to 'lib/unicorn/header_out.rb')
-rw-r--r-- | lib/unicorn/header_out.rb | 3 |
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) |