about summary refs log tree commit homepage
path: root/lib/unicorn/chunked_reader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicorn/chunked_reader.rb')
-rw-r--r--lib/unicorn/chunked_reader.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/unicorn/chunked_reader.rb b/lib/unicorn/chunked_reader.rb
index 539b350..b813da6 100644
--- a/lib/unicorn/chunked_reader.rb
+++ b/lib/unicorn/chunked_reader.rb
@@ -32,23 +32,6 @@ module Unicorn
       buf
     end
 
-    def gets
-      line = nil
-      begin
-        line = readpartial(Const::CHUNK_SIZE)
-        begin
-          if line.sub!(%r{\A(.*?#{$/})}, Z)
-            @chunk_left += line.size
-            @buf = @buf ? (line << @buf) : line
-            return $1.dup
-          end
-          line << readpartial(Const::CHUNK_SIZE)
-        end while true
-      rescue EOFError
-        return line
-      end
-    end
-
   private
 
     def last_block(max = nil)