http_parser: add HttpParser#next? method
commit60a9ec94f1f738f881e67f0a881c44c104f07c04
authorEric Wong <normalperson@yhbt.net>
Sat, 6 Nov 2010 02:30:44 +0000 (6 10:30 +0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 6 Nov 2010 02:30:44 +0000 (6 10:30 +0800)
tree0bbef83b7f08107326cf0fd91fd73aa58a85605d
parent7987e1a4001491f8a494f3926037f8cbee713263
http_parser: add HttpParser#next? method

An easy combination of the existing HttpParser#keepalive? and
HttpParser#reset methods, this makes it easier to implement
persistence.
ext/unicorn_http/unicorn_http.rl
test/unit/test_http_parser_ng.rb