diff options
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r-- | lib/unicorn.rb | 1 |
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 |