http: #keepalive? and #headers? work after #next?
commit87b1cf4eef3d717d345d730f28ddaad319f2fb2f
authorEric Wong <normalperson@yhbt.net>
Sun, 26 Dec 2010 06:23:28 +0000 (26 06:23 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 26 Dec 2010 07:19:18 +0000 (26 07:19 +0000)
treeb5fb29340a1d4123fa197fcf09e2db2033935fa4
parentc348223a045abb295b8c9d7dbf189264bc3a17c3
http: #keepalive? and #headers? work after #next?

We need to preserve our internal flags and only clear them on
HttpParser#parse.  This allows the async concurrency models in
Rainbows! to work properly.
ext/unicorn_http/unicorn_http.rl
test/unit/test_http_parser_ng.rb