Do not wait for server response to QUIT command.

This commit is contained in:
Vincent Richard 2014-01-03 22:52:08 +01:00
parent f08431b065
commit 146c16d896

View File

@ -525,7 +525,9 @@ void SMTPConnection::internalDisconnect()
try
{
sendRequest(SMTPCommand::QUIT());
readResponse();
// Do not wait for server response. This is contrary to the RFC, but
// some servers never send a response to a QUIT command.
}
catch (exception&)
{