diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-14 03:20:16 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-14 03:20:16 +0000 |
commit | 675f59cb49d5379869ffb57d6d58e0aebf407769 (patch) | |
tree | a497592e12ffb13676a04d505caaf0f22180c2c9 /lib | |
parent | b10ba81da164a2d532b6c6fe3858c13fc7c7c185 (diff) | |
download | ruby-675f59cb49d5379869ffb57d6d58e0aebf407769.tar.gz ruby-675f59cb49d5379869ffb57d6d58e0aebf407769.tar.xz ruby-675f59cb49d5379869ffb57d6d58e0aebf407769.zip |
* lib/net/http.rb (Net::HTTP#start): should check whether HTTP session is opened before finishing. (ruby-bugs-ja:PR#463)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index d5b0abd45..b6a04d1bf 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -721,7 +721,7 @@ module Net do_start return yield(self) ensure - finish + finish if @started end end do_start |