Skip to content

Conversation

@link2xt
Copy link
Collaborator

@link2xt link2xt commented Feb 13, 2021

Reduce the number of lifetimes and move message building to the end of MimeFactory.render()

This is the first part of #2232

@link2xt link2xt force-pushed the mimefactory-refactor branch from 77b6f36 to d5349c8 Compare February 13, 2021 23:47
@link2xt link2xt requested a review from r10s February 13, 2021 23:47
This will allow MimeFactory.render() to put protected headers
into main_part and wrap it into single-part multipart/mixed if
protected headers are too large to put into the outermost IMF.
Passing Context around explicitly removes the need for explicit lifetimes.
Copy link
Contributor

@r10s r10s left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for cleaning up'a!

@link2xt link2xt merged commit 57841cd into master Feb 14, 2021
@link2xt link2xt deleted the mimefactory-refactor branch February 14, 2021 11:19
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.

3 participants