diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-02-06 13:04:08 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-02-06 13:04:08 +0000 |
| commit | 5827086b468c64a68688b7f372c1164b5d0b8eef (patch) | |
| tree | e39fa4cf760807cbbe19ca9fb140a0f4c65afbfb /lib | |
| parent | 2bd5b950f0d37849e181d64974dd5bddbf79f500 (diff) | |
| download | ruby-5827086b468c64a68688b7f372c1164b5d0b8eef.tar.gz ruby-5827086b468c64a68688b7f372c1164b5d0b8eef.tar.xz ruby-5827086b468c64a68688b7f372c1164b5d0b8eef.zip | |
aamine
* lib/net/http.rb: Proxy did not work.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/http.rb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 2b18a8e93..d92547017 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -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 |
