about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-06-30 14:15:57 -0700
committerEric Wong <normalperson@yhbt.net>2009-06-30 14:15:57 -0700
commit2d3f12f0ca25ddfdec5b7d92f76489dcc1f26cf7 (patch)
treefb4229b195bbd4241b0708da3edaa894b5ca6600 /lib
parent608e6243a2b15bfc28c3524ed45d5fc7598e8565 (diff)
downloadunicorn-2d3f12f0ca25ddfdec5b7d92f76489dcc1f26cf7.tar.gz
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).
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn/chunked_reader.rb3
1 files changed, 2 insertions, 1 deletions
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