Project
General
Profile
Sign in
Register
Home
Projects
Help
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
«
Previous
|
Next
»
Revision cbd370f6
Added by
akr (Akira Tanaka)
over 11 years
ago
ID
cbd370f669e74ca3e1953da94d4e780b7ddea391
Parent
02afafb4
Child
58a64127
lib/net/imap.rb (Net::IMAP#initialize): Close the opened socket when
any exception occur.
This fixes a fd leak by IMAPTest#test_imaps_post_connection_check
which start_tls_session() raises an exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading...
any exception occur.
This fixes a fd leak by IMAPTest#test_imaps_post_connection_check
which start_tls_session() raises an exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e