From 2d3f12f0ca25ddfdec5b7d92f76489dcc1f26cf7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 30 Jun 2009 14:15:57 -0700 Subject: 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/unicorn/chunked_reader.rb b/lib/unicorn/chunked_reader.rb index 40d421d..f9bd4ec 100644 --- a/lib/unicorn/chunked_reader.rb +++ b/lib/unicorn/chunked_reader.rb @@ -1,7 +1,8 @@ # Copyright (c) 2009 Eric Wong # You can redistribute it and/or modify it under the same terms as Ruby. -module Unicorn; end +require 'unicorn' +require 'unicorn/http11' module Unicorn class ChunkedReader -- cgit v1.2.3-24-ge0c7