Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Set connection deadline before using it #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cyrilc-pro
Copy link

Creating a smtp.Client is actually reading from the connection (net.Conn). So, setting the connection deadline should be done before creating the smtp.Client.

@cyrilc-pro cyrilc-pro marked this pull request as ready for review August 10, 2022 08:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant