1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb: HTTP#proxy? did not worked.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2001-07-13 21:20:41 +00:00
parent 76d7dae26a
commit a2193f50e8
3 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sat Jul 14 06:20:17 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb: HTTP#proxy? did not worked.
Sat Jul 14 02:56:19 2001 Akinori MUSHA <knu@iDaemons.org> Sat Jul 14 02:56:19 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in: support multi-level ext/ directories. * ext/extmk.rb.in: support multi-level ext/ directories.

View file

@ -517,7 +517,7 @@ module Net
end end
def proxy? def proxy?
type.proxy? type.proxy_class?
end end
def proxy_address def proxy_address
@ -543,7 +543,7 @@ module Net
klass = Class.new( HTTP ) klass = Class.new( HTTP )
klass.module_eval { klass.module_eval {
include mod include mod
@is_proxy = true @is_proxy_class = true
@proxy_address = p_addr @proxy_address = p_addr
@proxy_port = p_port @proxy_port = p_port
} }

View file

@ -129,7 +129,7 @@ module Net
_start args _start args
yield self yield self
ensure ensure
finish finish if active?
end end
else else
_start args _start args