diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-05 15:16:18 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-09 19:50:44 -0800 |
commit | a1c7992d47ac820c64604b8aeb8779a0bf741fcf (patch) | |
tree | b40dd375c1de2abbb38e17a1e3f6041915aa518f /lib/unicorn.rb | |
parent | 07846bcac6604babf0dd1f296d99c148b63340d6 (diff) | |
download | unicorn-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.rb | 2 |
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 |