From f162f2073be0ccad316681841805844f7f0b4b64 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 13 Jul 2015 14:58:12 +0000 Subject: httpproxy.rb: fix typos [ci skip] * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT): fix typos in debugger statements. [Fix GH-967] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/webrick/httpproxy.rb | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 533f00345e..303ee39666 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 13 23:58:08 2015 Stefano Tortarolo + + * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT): + fix typos in debugger statements. [Fix GH-967] + Mon Jul 13 19:11:35 2015 Nobuyoshi Nakada * lib/timeout.rb (timeout): warn as deprecated for a long time. diff --git a/lib/webrick/httpproxy.rb b/lib/webrick/httpproxy.rb index cbba2d80f7..075d9c494d 100644 --- a/lib/webrick/httpproxy.rb +++ b/lib/webrick/httpproxy.rb @@ -156,12 +156,12 @@ module WEBrick os << proxy_request_line << CRLF @logger.debug("CONNECT: > #{proxy_request_line}") if credentials - @logger.debug("CONNECT: sending a credentials") + @logger.debug("CONNECT: sending credentials") os << "Proxy-Authorization: " << credentials << CRLF end os << CRLF proxy_status_line = os.gets(LF) - @logger.debug("CONNECT: read a Status-Line form the upstream server") + @logger.debug("CONNECT: read Status-Line from the upstream server") @logger.debug("CONNECT: < #{proxy_status_line}") if %r{^HTTP/\d+\.\d+\s+200\s*} =~ proxy_status_line while line = os.gets(LF) -- cgit v1.2.3