From 8f91a0255e03ff695858bcabbf6ec96629d56e6e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 8 May 2015 22:45:31 +0000 Subject: proxy_pass: avoid unnecessary close method No point in wasting space and reducing code clarity with this method to remove references to live objects. --- lib/yahns/proxy_pass.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/yahns/proxy_pass.rb b/lib/yahns/proxy_pass.rb index 7083104..15ae17c 100644 --- a/lib/yahns/proxy_pass.rb +++ b/lib/yahns/proxy_pass.rb @@ -78,12 +78,6 @@ class Yahns::ProxyPass # :nodoc: c.proxy_err_response(502, self, e, nil) end - # Called by the Rack server at the end of a successful response - def close - @hdr = @yahns_client = @rrstate = nil - super - end - # returns :wait_readable if complete, :wait_writable if not def send_req_body(req) buf, input, chunked = req -- cgit v1.2.3-24-ge0c7