simplify per-client keepalive state checks
[rainbows.git] / lib / rainbows / http_parser.rb
blobec55fe9a0dff2d3915a9625f23d945794540946e
1 # -*- encoding: binary -*-
2 # :enddoc:
3 # avoid modifying Unicorn::HttpParser
4 class Rainbows::HttpParser < Unicorn::HttpParser
5   def self.quit
6     alias_method :next?, :never!
7   end
9   def never!
10     false
11   end
12 end