Problem
Net::IMAP SSL configuration freezes an options Hash supplied by the caller while normalizing it. A hash reused for another connection can unexpectedly become immutable.
Prepared atomic commit bbb6817367fb648c3994c5294e8e3c758cdbe851 copies the option hash before normalization/freezing and retains existing certificate/context behavior. Dual-Ruby suites and focused Hash/keyword/frozen ownership models pass; package and Rails checks pass. No repository tests were modified.
Problem
Net::IMAP SSL configuration freezes an options Hash supplied by the caller while normalizing it. A hash reused for another connection can unexpectedly become immutable.
Prepared atomic commit
bbb6817367fb648c3994c5294e8e3c758cdbe851copies the option hash before normalization/freezing and retains existing certificate/context behavior. Dual-Ruby suites and focused Hash/keyword/frozen ownership models pass; package and Rails checks pass. No repository tests were modified.