summaryrefslogtreecommitdiffstats
path: root/lib/net/protocol.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-13 21:20:41 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-13 21:20:41 +0000
commita9b841572693fb2015198047c5bd12e4c78b756e (patch)
tree8e10eaaa7454f9bb0ee99794a987d8a2b1ba6124 /lib/net/protocol.rb
parentb337fc7fd16db204abedf5074f39cfd9b0ef1630 (diff)
downloadruby-a9b841572693fb2015198047c5bd12e4c78b756e.tar.gz
ruby-a9b841572693fb2015198047c5bd12e4c78b756e.tar.xz
ruby-a9b841572693fb2015198047c5bd12e4c78b756e.zip
aamine
* lib/net/http.rb: HTTP#proxy? did not worked. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/protocol.rb')
-rw-r--r--lib/net/protocol.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb
index edc0f24b6..5835c136b 100644
--- a/lib/net/protocol.rb
+++ b/lib/net/protocol.rb
@@ -129,7 +129,7 @@ module Net
_start args
yield self
ensure
- finish
+ finish if active?
end
else
_start args