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

IMAP connection reuse #6175

Closed
ChristophWurst opened this issue Apr 4, 2022 · 1 comment
Closed

IMAP connection reuse #6175

ChristophWurst opened this issue Apr 4, 2022 · 1 comment

Comments

@ChristophWurst
Copy link
Member

Is your feature request related to a problem? Please describe.

Afer #6174 Mail will close IMAP connection explicitly. Therefore two sections of code within the same process that acquire the same connection will now login and log out twice.

Describe the solution you'd like

Investigate if we have atomic operations in which we could keep the connection open instead of closing it in between. Yet we have to choose wisely as a stale open connection is also not what we want. Sometimes closing and reopening can be the faster and more reliable solution still.

Describe alternatives you've considered

N/a

Additional context

No response

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

No branches or pull requests

1 participant