We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently in case of the protocol error we close connection and throw an exception afterwards:
HaskellNet/src/Network/HaskellNet/SMTP.hs
Lines 160 to 164 in fbae7bb
It means that when we exit from doSMTP* we close connection again:
doSMTP*
Line 300 in fbae7bb
Lines 247 to 263 in fbae7bb
Even we handle exception here, it's not safe to close the same handle twice as it could be allocated for a completely different connection.
The text was updated successfully, but these errors were encountered:
a64c17f
qnikst
No branches or pull requests
Currently in case of the protocol error we close connection and throw an exception afterwards:
HaskellNet/src/Network/HaskellNet/SMTP.hs
Lines 160 to 164 in fbae7bb
It means that when we exit from
doSMTP*
we close connection again:HaskellNet/src/Network/HaskellNet/SMTP.hs
Line 300 in fbae7bb
HaskellNet/src/Network/HaskellNet/SMTP.hs
Lines 247 to 263 in fbae7bb
Even we handle exception here, it's not safe to close the same handle twice as it could be allocated for a completely different connection.
The text was updated successfully, but these errors were encountered: