Skip to content
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

support SMTPUTF8 #132 #133

Merged
merged 10 commits into from
May 14, 2024
Merged

support SMTPUTF8 #132 #133

merged 10 commits into from
May 14, 2024

Conversation

davidmoten
Copy link
Owner

@davidmoten davidmoten commented May 12, 2024

See #132

This PR includes always-on support for STMPUTF8. To make it happen a new class Utf8InputStreamReader was created for UTF-8 that doesn't buffer unnecessarily (java.io.InputStreamReader buffers extra for performance reasons which is a problem for us because command have different uses of the underlying InputStream and we can't lose bytes between commands). The new Reader has full test coverage (for what that's worth).

@davidmoten

This comment was marked as resolved.

Copy link

@mnmallea mnmallea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I don't see a reason why smtputf8 support should be under a config flag, but if you think it should be done that way I'm not against that.

@davidmoten davidmoten merged commit 1b8a42c into master May 14, 2024
10 checks passed
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.

2 participants