diff options
Diffstat (limited to 'lib/yahns/http_response.rb')
-rw-r--r-- | lib/yahns/http_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/http_response.rb b/lib/yahns/http_response.rb index 1b9478f..8a4bd6a 100644 --- a/lib/yahns/http_response.rb +++ b/lib/yahns/http_response.rb @@ -125,7 +125,7 @@ module Yahns::HttpResponse # :nodoc: buf << kv_str(key, value) when %r{\AConnection\z}i # allow Rack apps to tell us they want to drop the client - alive = !!(value =~ /\bclose\b/i) + alive = false if value =~ /\bclose\b/i when "rack.hijack" hijack = value body = nil # ensure we do not close body |