* [PATCH] proxy_pass: avoid unnecessary close method
@ 2015-05-09 1:05 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-05-09 1:05 UTC (permalink / raw)
To: yahns-public
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
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-09 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-09 1:05 [PATCH] proxy_pass: avoid unnecessary close method Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/yahns.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).