Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uppanic: Future.Set called multiple times #270
Comments
|
A link to the code line where the issue makes its panic: https://github.com/foxcpp/maddy/blob/master/internal/target/remote/security.go#L400 |
|
For reference: Both gmail.com and icloud.com do not have any DANE records set. |
|
The error is still present. Do you need any further information @foxcpp ? |
Temporary patch for #270 as I am unable to identify the root cause.
|
I am unable to identify the root cause of the issue. Just stress testing sending mail to two domains with DANE checking enabled is not revealing anything. I pushed c3987e3 to master that masks the issue by ignoring duplicated Future.Set calls. |
|
And added slightly more logging in 0000256 for it. This likely has some relation to resolver errors and this is why it is not always happening since most DNS errors are transient. |
Describe the bug
I have got a panic during sending a message:
Steps to reproduce
I tried to reproduce this issue but it seems it happened spontaneously.
Configuration file
It's the standard config file, except another domain name.
Environment information
I've installed maddy from the source code.