commit | 1bedb4f02433e86d10ee9693a2208b23476cb2d1 | [log] [tgz] |
---|---|---|
author | Ta-wei Yen <twyen@google.com> | Mon Jul 11 16:55:16 2016 -0700 |
committer | Ta-wei Yen <twyen@google.com> | Mon Jul 11 16:55:16 2016 -0700 |
tree | 564f39d5b9837085e8faa741c79411e77a40f4c2 | |
parent | a449435441faf39559fce7719fee75c320c103fe [diff] |
Proper IMAP logout Prior to this CL the IMAP client never send a LOGOUT command and just shut down the socket, which was regarded as an "abnormal session termination" to the server. In this CL, we will attempt to send the LOGOUT command before closing the socket. ImapHelper was also made closeable to ensure the connection is not leaked. Change-Id: I920c63edaa39116e56d17866451709306e5ab91c Fixes: 27816588