about summary refs log tree commit homepage
path: root/lib/unicorn/http_request.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-06-30 17:15:56 -0700
committerEric Wong <normalperson@yhbt.net>2009-06-30 17:20:13 -0700
commit20bf660a3efff9229c81b3b3a0feb6844bc27a7c (patch)
tree004553b916743a54361ba8ca4716d6b63d5cd73e /lib/unicorn/http_request.rb
parentf01c1d4071e8ce30aa6806fd3cd8eec7491bf06c (diff)
downloadunicorn-20bf660a3efff9229c81b3b3a0feb6844bc27a7c.tar.gz
Support for the "Trailer:" header and associated Trailer
lines should be reasonably well supported now
Diffstat (limited to 'lib/unicorn/http_request.rb')
-rw-r--r--lib/unicorn/http_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb
index a6ed7c9..3df9120 100644
--- a/lib/unicorn/http_request.rb
+++ b/lib/unicorn/http_request.rb
@@ -96,7 +96,7 @@ module Unicorn
 
         if te = PARAMS[Const::HTTP_TRANSFER_ENCODING]
           if /\Achunked\z/i =~ te
-            socket = ChunkedReader.new(socket, body)
+            socket = ChunkedReader.new(PARAMS, socket, body)
             length = body = nil
           end
         end