lib/rainbows/revactor.rb in rainbows-0.96.0 vs lib/rainbows/revactor.rb in rainbows-0.97.0

- old
+ new

@@ -60,10 +60,10 @@ end if hp.headers? headers = HH.new(headers) range = make_range!(env, status, headers) and status = range.shift - env = false unless hp.keepalive? && G.alive + env = false unless hp.keepalive? && G.alive && G.kato > 0 headers[CONNECTION] = env ? KEEP_ALIVE : CLOSE client.write(response_header(status, headers)) end write_body(client, body, range) end while env && env.clear && hp.reset.nil?