* lib/net/http.rb: Proxy did not work.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2001-02-06 13:04:08 +00:00
parent 5113e8923c
commit bf5ea58942
1 changed files with 2 additions and 13 deletions

View File

@ -284,9 +284,10 @@ module Net
class << self
def create_proxy_class( p_addr, p_port )
mod = self
klass = Class.new( HTTP )
klass.module_eval {
include HTTPProxy
include mod
@proxy_address = p_addr
@proxy_port = p_port
}
@ -1035,18 +1036,6 @@ module Net
end
class Dummy
def initialize( *args )
end
def critical?
false
end
end
end # module Net::NetPrivate
end # module Net