"call" is a generic name and may not obvious to somebody
new to the code.
---
 lib/yahns/proxy_pass.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ def init_path_vars(path)
   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) }
-- 
EW

--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/

Reply via email to