chunked_reader: Add test for chunk parse failure
commit2d3f12f0ca25ddfdec5b7d92f76489dcc1f26cf7
authorEric Wong <normalperson@yhbt.net>
Tue, 30 Jun 2009 21:15:57 +0000 (30 14:15 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 30 Jun 2009 21:15:57 +0000 (30 14:15 -0700)
treefb4229b195bbd4241b0708da3edaa894b5ca6600
parent608e6243a2b15bfc28c3524ed45d5fc7598e8565
chunked_reader: Add test for chunk parse failure

I'd honestly be more comfortable doing this in C (and possibly
adapting the code from the libcurl internals since that code has
been very well-tested).
lib/unicorn/chunked_reader.rb
test/unit/test_chunked_reader.rb