diff options
author | Vincent Richard <[email protected]> | 2014-01-03 21:52:08 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2014-01-03 21:52:08 +0000 |
commit | 146c16d89609c3b09a23d1402c57a4c6f05fe106 (patch) | |
tree | c31c4b7932a870287142741cdc9f836b1eb32f6a | |
parent | Allow "200" response code to RSET command, as per RFC-876. (diff) | |
download | vmime-146c16d89609c3b09a23d1402c57a4c6f05fe106.tar.gz vmime-146c16d89609c3b09a23d1402c57a4c6f05fe106.zip |
Do not wait for server response to QUIT command.
-rw-r--r-- | src/vmime/net/smtp/SMTPConnection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vmime/net/smtp/SMTPConnection.cpp b/src/vmime/net/smtp/SMTPConnection.cpp index 26be25db..e0b5bc68 100644 --- a/src/vmime/net/smtp/SMTPConnection.cpp +++ b/src/vmime/net/smtp/SMTPConnection.cpp @@ -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&) { |