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

Allow timeout in connections, retries to be configurable #10

Merged
merged 2 commits into from
Dec 7, 2017
Merged

Allow timeout in connections, retries to be configurable #10

merged 2 commits into from
Dec 7, 2017

Conversation

ivy
Copy link

@ivy ivy commented Dec 7, 2017

Originally submitted by @connor4312 in go-gomail#70:

Previously if connections were unhealthy they could easily block up work, and there was no way to set read/write deadlines. This PR fixes that by adding a Timeout property on the Dialer, which is used for both the initial connection establishment and subsequent Send calls.

@ivy ivy merged commit 73cb68f into go-mail:master Dec 7, 2017
@ivy ivy deleted the user-defined-timeouts branch December 7, 2017 00:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants