[dovecot-cvs] dovecot/src/imap cmd-append.c,1.89,1.90
tss at dovecot.org
tss at dovecot.org
Fri Feb 16 14:03:16 UTC 2007
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv7227
Modified Files:
cmd-append.c
Log Message:
APPEND ate all CPU if client didn't send the message fast enough.
Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- cmd-append.c 15 Feb 2007 11:38:48 -0000 1.89
+++ cmd-append.c 16 Feb 2007 14:03:13 -0000 1.90
@@ -327,7 +327,7 @@
from client */
mailbox_save_cancel(&ctx->save_ctx);
}
- if (ret == -1)
+ if (ret == -1 || ret == 0)
break;
}
}
More information about the dovecot-cvs
mailing list