|
|
@ -3271,14 +3271,7 @@ public class IMAPProtocol extends Protocol {
|
|
|
|
notifyResponseHandlers(responses);
|
|
|
|
notifyResponseHandlers(responses);
|
|
|
|
|
|
|
|
|
|
|
|
if (r.isUnTagged() && r.isOK()) // Still here
|
|
|
|
if (r.isUnTagged() && r.isOK()) // Still here
|
|
|
|
try {
|
|
|
|
idleAbort();
|
|
|
|
DataOutputStream output = (DataOutputStream) getOutputStream();
|
|
|
|
|
|
|
|
output.writeBytes("DONE");
|
|
|
|
|
|
|
|
output.write(CRLF);
|
|
|
|
|
|
|
|
output.flush();
|
|
|
|
|
|
|
|
} catch (IOException ex) {
|
|
|
|
|
|
|
|
throw new ProtocolException("IDLE/DONE", ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (r.isBYE()) // shouldn't wait for command completion response
|
|
|
|
if (r.isBYE()) // shouldn't wait for command completion response
|
|
|
|
done = true;
|
|
|
|
done = true;
|
|
|
|