diff options
author | Eric Wong <yahns-public@yhbt.net> | 2017-03-24 04:45:13 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-04-03 19:57:03 +0000 |
commit | 9ad151e4aa6e3120f3fb53f5e82d35ba57e45bb6 (patch) | |
tree | 508f637a48bc68e62b46d9fe33648ca634b2b65d /lib/yahns/proxy_pass.rb | |
parent | bae99e0b853b03e8b597d66c07c3b27e1575524a (diff) | |
download | yahns-9ad151e4aa6e3120f3fb53f5e82d35ba57e45bb6.tar.gz |
"call" is a generic name and may not obvious to somebody new to the code.
Diffstat (limited to 'lib/yahns/proxy_pass.rb')
-rw-r--r-- | lib/yahns/proxy_pass.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/proxy_pass.rb b/lib/yahns/proxy_pass.rb index 0ada4a6..2a37773 100644 --- a/lib/yahns/proxy_pass.rb +++ b/lib/yahns/proxy_pass.rb @@ -57,7 +57,7 @@ class Yahns::ProxyPass # :nodoc: def call(env) # 3-way handshake for TCP backends while we generate the request header rr = Yahns::ReqRes.start(@sockaddr) - c = env['rack.hijack'].call + c = env['rack.hijack'].call # Yahns::HttpClient#call req = Rack::Request.new(env) req = @path.gsub(/\$(\w+)/) { req.__send__($1) } |