tee_input: expand client error handling
commita80ba923659a4287f05a8c69fe2c5ad8b65d28f7
authorEric Wong <normalperson@yhbt.net>
Sun, 15 Nov 2009 20:09:23 +0000 (15 12:09 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 15 Nov 2009 20:09:32 +0000 (15 12:09 -0800)
tree17f6aa4fef65008e03d5c0caabbddfecd755eb0b
parent6d7e11482a484b50215701993408057b80c82bbe
tee_input: expand client error handling

First move it to a separate method, this allows subclasses to
reuse our error handler.  Additionally, capture HttpParserError
as well since backtraces are worthless when a client sends us
a bad request, too.
lib/unicorn/tee_input.rb
test/unit/test_server.rb