From c9134128cbd9f4e3f7590ba899c1e9babe4e9f03 Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 26 Jun 2014 09:05:58 +0000 Subject: * lib/webrick/httpproxy.rb: remvoe useless assigned variables. * lib/webrick/httpservlet/cgihandler.rb: ditto. * lib/webrick/httpservlet/erbhandler.rb: ditto. * lib/webrick/server.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/webrick/httpproxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/webrick/httpproxy.rb') diff --git a/lib/webrick/httpproxy.rb b/lib/webrick/httpproxy.rb index 4ff565754e..77a2ea7108 100644 --- a/lib/webrick/httpproxy.rb +++ b/lib/webrick/httpproxy.rb @@ -203,7 +203,7 @@ module WEBrick ua.syswrite(buf) end end - rescue => ex + rescue os.close @logger.debug("CONNECT #{host}:#{port}: closed") end -- cgit v1.2.3