yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: yahns-public@yhbt.net
Subject: [PATCH 1/3] extras/proxy_pass: do not name unused variable
Date: Tue,  3 Mar 2015 07:59:28 +0000	[thread overview]
Message-ID: <1425369570-28427-2-git-send-email-e@80x24.org> (raw)
In-Reply-To: <1425369570-28427-1-git-send-email-e@80x24.org>

"ruby -w" warns on it.
 extras/proxy_pass.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/proxy_pass.rb b/extras/proxy_pass.rb
index b1697db..8a32cac 100644
--- a/extras/proxy_pass.rb
+++ b/extras/proxy_pass.rb
@@ -170,7 +170,7 @@ class ProxyPass # :nodoc:
     send_body(env["rack.input"], ures, chunked) if chunked || clen
     # wait for the response here
-    status, header, body = res = ures.rack
+    _, header, body = res = ures.rack
     # don't let the upstream Connection and Keep-Alive headers leak through
     header.delete_if do |k,_|

  reply	other threads:[~2015-03-03  7:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03  7:59 [PUSHED] extras/proxy_pass updates Eric Wong
2015-03-03  7:59 ` Eric Wong [this message]
2015-03-03  7:59 ` [PATCH 2/3] extras/proxy_pass: log exceptions leading to 502 Eric Wong
2015-03-03  7:59 ` [PATCH 3/3] extras/proxy_pass: flesh out upload support + tests Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/yahns/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425369570-28427-2-git-send-email-e@80x24.org \
    --to=e@80x24.org \
    --cc=yahns-public@yhbt.net \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).