search for: e0ff805

Displaying 1 result from an estimated 1 matches for "e0ff805".

Did you mean: a0eff805
2009 Sep 09
0
[PATCH] http_response: don't "rescue nil" for body.close
...y across all Rack-enabled servers :) --- This will be in the next release, so fix your applications/middleware before hand... lib/unicorn/http_response.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/unicorn/http_response.rb b/lib/unicorn/http_response.rb index e0ff805..0d05b2c 100644 --- a/lib/unicorn/http_response.rb +++ b/lib/unicorn/http_response.rb @@ -69,7 +69,7 @@ module Unicorn body.each { |chunk| socket.write(chunk) } socket.close # flushes and uncorks the socket immediately ensure - body.respond_to?(:close) and body.close res...