Thanks to visit codestin.com
Credit goes to github.com

Skip to content

✨ Add response_handlers kwarg to Net::IMAP.new #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 23, 2025

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Mar 23, 2025

The response_handlers keyword argument to Net::IMAP.new assigns response handlers before the receiver thread is started. This ensures every server response is handled, including the greeting.

There weren't any response_handler tests at all, prior to this!
@nevans nevans force-pushed the response_handlers-kwarg-to-new branch from 3c0638c to cf69acd Compare March 23, 2025 21:02
This ensures every server response is handled, including the greeting.
@nevans nevans force-pushed the response_handlers-kwarg-to-new branch from cf69acd to 071eed4 Compare March 23, 2025 21:11
@nevans nevans merged commit 7d67c66 into master Mar 23, 2025
37 checks passed
@nevans nevans deleted the response_handlers-kwarg-to-new branch March 23, 2025 21:15
nevans added a commit that referenced this pull request Apr 17, 2025
…lers-kwarg

✨ Add `response_handlers` kwarg to `Net::IMAP.new` (backports #419)
@nevans nevans added the enhancement New feature or request label Apr 22, 2025
headius added a commit to headius/jruby that referenced this pull request May 5, 2025
headius added a commit to headius/jruby that referenced this pull request May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant