about summary refs log tree commit homepage
path: root/lib/unicorn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-05 15:16:18 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-09 19:50:44 -0800
commita1c7992d47ac820c64604b8aeb8779a0bf741fcf (patch)
treeb40dd375c1de2abbb38e17a1e3f6041915aa518f /lib/unicorn.rb
parent07846bcac6604babf0dd1f296d99c148b63340d6 (diff)
downloadunicorn-a1c7992d47ac820c64604b8aeb8779a0bf741fcf.tar.gz
The previous API was very flexible, but I don't think many
people really cared for it... We now repeatedly use the
same HeaderOut in each process since I completely don't
care for multithreading.
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