Do not wait for server response to QUIT command.
This commit is contained in:
parent
f08431b065
commit
146c16d896
@ -525,7 +525,9 @@ void SMTPConnection::internalDisconnect()
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
sendRequest(SMTPCommand::QUIT());
|
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&)
|
catch (exception&)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user