about summary refs log tree commit homepage
path: root/lib/unicorn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r--lib/unicorn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 57471a4..295327b 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -125,7 +125,7 @@ module Unicorn
             # in the case of large file uploads the user could close the socket, so skip those requests
             break if request.body == nil  # nil signals from HttpRequest::initialize that the request was aborted
             app_response = @app.call(request.env)
-            response = HttpResponse.new(client, app_response).start
+            HttpResponse.send(client, app_response)
           break #done
           else
             # Parser is not done, queue up more data to read and continue parsing