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.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 735354f..31332c9 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -646,6 +646,7 @@ module Unicorn
         response = app.call(env)
       end
       HttpResponse.write(client, response, HttpRequest::PARSER.headers?)
+      client.close # flushes and uncorks the socket immediately, no keepalive
     rescue => e
       handle_error(client, e)
     end