lib-index: Add mail_cache_close_mail() to smartly drop cached data with
INDEX=MEMORY
- Instead of reseting the entire transaction buffer when 256 kB is reached,
+ Instead of resetting the entire transaction buffer when 256 kB is reached,
just drop mails have have been marked closed with mail_cache_close_mail().
If that's not enough, continue deleting forcibly until the buffer is below
256 kB.
2016-09-21 20:50:24 +0300 Timo Sirainen <timo.sirainen@dovecot.fi> (2e5e2047af)
- login-proxy: Fixed "Host is down" never reseting itself.
+ login-proxy: Fixed "Host is down" never resetting itself.
Broken by c8eb8314a, which moved adding num_waiting_connections earlier.
After that it was never 0 at the check time.
2015-12-07 11:29:29 +0200 Timo Sirainen <tss@iki.fi> (975c2cdc1b)
- doveadm: Fixed reseting getopt() with glibc when processing multiple
+ doveadm: Fixed resetting getopt() with glibc when processing multiple
commands in a single process. This means commands run with doveadm batch or
multiple commands in a single doveadm-server connection.
- zlib, IMAP BINARY: Fixed internal caching when accessing multiple
newly created mails. They all had UID=0 and the next mail could have
wrongly used the previously cached mail.
- - doveadm stats reset wasn't reseting all the stats.
+ - doveadm stats reset wasn't resetting all the stats.
- auth_stats=yes: Don't update num_logins, since it doubles them when
using with mail stats.
- quota count: Fixed deadlocks when updating vsize header.
if (ctx->parser.data != ctx->parser.end) {
if (*ctx->parser.data == ',') {
sieve_address_error(
- ctx, "not a single addres (found ',')");
+ ctx, "not a single address (found ',')");
} else {
sieve_address_error(
ctx, "address ends in invalid characters");
/* already have this. just reset its last_network_failure
timestamp, since it might be up now, but only if this
- isn't part of the handshake. (if it was, reseting the
+ isn't part of the handshake. (if it was, resetting the
timestamp could cause us to rapidly keep trying to connect
to it) */
if (conn->handshake_received)
array_idx_set(&t->ext_reset_ids, ext_id, &reset_id);
- /* reseting existing data is optional */
+ /* resetting existing data is optional */
if (array_is_created(&t->ext_resets)) {
reset = array_idx_modifiable(&t->ext_resets, ext_id);
if (reset->new_reset_id == (uint32_t)-1)
use the default. */
void mail_index_set_optimization_settings(struct mail_index *index,
const struct mail_index_optimization_settings *set);
-/* When creating a new index file or reseting an existing one, add the given
+/* When creating a new index file or resetting an existing one, add the given
extension header data immediately to it. */
void mail_index_set_ext_init_data(struct mail_index *index, uint32_t ext_id,
const void *data, size_t size);
return -1;
if (reset) {
- /* don't reset modseqs. if we're reseting due to rebuilding
+ /* don't reset modseqs. if we're resetting due to rebuilding
indexes we'll probably want to keep uidvalidity and in such
cases we really don't want to shrink modseqs. */
file->hdr.prev_file_seq = 0;
} else {
/* mailbox created/recreated */
reset = TRUE;
- i_info("Mailbox %s UIDVALIDITY changed (%u -> %u), reseting private index",
+ i_info("Mailbox %s UIDVALIDITY changed (%u -> %u), resetting private index",
ctx->box->vname, hdr_pvt->uid_validity,
hdr_shared->uid_validity);
}