summaryrefslogtreecommitdiff
path: root/lib/webrick/httpproxy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webrick/httpproxy.rb')
-rw-r--r--lib/webrick/httpproxy.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/webrick/httpproxy.rb b/lib/webrick/httpproxy.rb
index f35a177777..ce99c55d8f 100644
--- a/lib/webrick/httpproxy.rb
+++ b/lib/webrick/httpproxy.rb
@@ -64,7 +64,7 @@ module WEBrick
def proxy_service(req, res)
# Proxy Authentication
- proxy_auth(req, res)
+ proxy_auth(req, res)
begin
self.send("do_#{req.request_method}", req, res)
@@ -81,7 +81,7 @@ module WEBrick
handler.call(req, res)
end
end
-
+
def do_CONNECT(req, res)
# Proxy Authentication
proxy_auth(req, res)
@@ -264,7 +264,7 @@ module WEBrick
http = Net::HTTP.new(uri.host, uri.port, upstream.host, upstream.port)
http.start do
if @config[:ProxyTimeout]
- ################################## these issues are
+ ################################## these issues are
http.open_timeout = 30 # secs # necessary (maybe bacause
http.read_timeout = 60 # secs # Ruby's bug, but why?)
##################################