http: fix behavior with pipelined requests
commite99178ef89eca9e46b73484aaf9733259dac9dca
authorEric Wong <normalperson@yhbt.net>
Thu, 7 Oct 2010 08:12:36 +0000 (7 08:12 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 7 Oct 2010 08:14:14 +0000 (7 08:14 +0000)
tree52098695f4b7fff6ce11839edcd929cda9204849
parenteb5ba488422020568e5ccf650891d7fccce7238f
http: fix behavior with pipelined requests

We cannot clear the buffer between requests because
clients may send multiple requests that get taken in
one read()/recv() call.
ext/unicorn_http/unicorn_http.rl
test/unit/test_http_parser_ng.rb