Skip to content

Respect subclass POP3 SSL defaults - #34

Open
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/subclass-ssl-defaults
Open

OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/subclass-ssl-defaults

Conversation

@OskarEichler

Copy link
Copy Markdown

Net::POP3.start constructs POP3 directly and class SSL parameters are shared mutable hashes, so subclass defaults are ignored and later caller or class mutation changes configuration unexpectedly. Construct through the receiver class, inherit superclass defaults until a subclass overrides them, and snapshot caller and class hashes. Current suites pass 10 tests / 17 assertions on Ruby 4.0.6 and 3.2.11; focused dual-Ruby ownership models, syntax and package checks pass. No repository tests were changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant