-
Notifications
You must be signed in to change notification settings - Fork 801
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
Fix SMTP health checks not respecting timeout #1739
Conversation
Thanks. Please look into #1740 as an example of how this can be done for modern TFMs. Let's pass |
Alright, i finally had time for that. Please have a look if that is how you wanted it to be implemented. But allow me a few additional notes:
Maybe you could share your thoughts on that. |
It doesn't matter for now since all packages are in 7.0.0-preview state. |
Fair enough, yes. |
@peterwurzinger Finally I returned to review this one.
Yes, I'm fine having them all with |
Shall this be done within this PR, or shall I open a separate one? I guess it would touch not only the SMTP implementation, but also the IMAP check, therefore being probably a lot more than just fixing #1738 |
What this PR does / why we need it:
The cancellation token in an SMTP handshake will be passed to the initial TCP connection as well, making it respect a given timeout.
It seems like this has already been an issue for IMAP connections, as there is a Test and the same Fix for that type of checks.
Which issue(s) this PR fixes:
#1738
Does this PR introduce a user-facing change?
At least I'm not aware of any.
Please make sure you've completed the relevant tasks for this PR, out of the following list: