]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 years agolib-master: Show better error message when process_limit is reached.
Timo Sirainen [Thu, 12 Dec 2013 16:21:49 +0000 (18:21 +0200)] 
lib-master: Show better error message when process_limit is reached.

11 years agoauth: Previous userdb changes caused userdb prefetch to be used always.
Timo Sirainen [Thu, 12 Dec 2013 16:08:25 +0000 (18:08 +0200)] 
auth: Previous userdb changes caused userdb prefetch to be used always.

11 years agoauth: Don't crash when userdb hasn't been specified at all.
Timo Sirainen [Thu, 12 Dec 2013 15:59:28 +0000 (17:59 +0200)] 
auth: Don't crash when userdb hasn't been specified at all.

11 years agolzma: Reading until EOF without seeing LZMA_STREAM_END isn't an error.
Timo Sirainen [Thu, 12 Dec 2013 14:37:37 +0000 (16:37 +0200)] 
lzma: Reading until EOF without seeing LZMA_STREAM_END isn't an error.

11 years agologin-*: Make sure "need to write more" flag doesn't get stuck during handshake.
Timo Sirainen [Wed, 11 Dec 2013 17:39:12 +0000 (19:39 +0200)] 
login-*: Make sure "need to write more" flag doesn't get stuck during handshake.
This should prevent busy-looping in SSL_accept(). (Second attempt at doing
this, first one was in e95479f439aa.)

11 years agoauth: Use refcounting for LDAPMessage to make sure it always gets freed correctly.
Timo Sirainen [Wed, 11 Dec 2013 16:39:36 +0000 (18:39 +0200)] 
auth: Use refcounting for LDAPMessage to make sure it always gets freed correctly.
This may fix some memory leaks in some (error?) cases.

11 years agoauth: ldap with auth_bind=yes leaked memory
Timo Sirainen [Wed, 11 Dec 2013 16:39:08 +0000 (18:39 +0200)] 
auth: ldap with auth_bind=yes leaked memory
Existing LDAP search request can't just be converted into bind request
before the search request is freed. So just create a new request.

11 years agomaster: Include used protocols in the "starting up" log message.
Timo Sirainen [Mon, 9 Dec 2013 16:41:30 +0000 (18:41 +0200)] 
master: Include used protocols in the "starting up" log message.

11 years agoquota: Fix to previous wildcard change
Timo Sirainen [Mon, 9 Dec 2013 13:42:20 +0000 (15:42 +0200)] 
quota: Fix to previous wildcard change

11 years agomysql: Added ssl_verify_server_cert=no|yes parameter.
Timo Sirainen [Sun, 8 Dec 2013 22:02:58 +0000 (00:02 +0200)] 
mysql: Added ssl_verify_server_cert=no|yes parameter.
To make sure we don't break existing installations, default to "no". For
v2.3 it should default to "yes".

Patch by Gareth Palmer

11 years agolib-http: Don't try to automatically retry requests whose payload was already lost.
Timo Sirainen [Sun, 8 Dec 2013 21:41:33 +0000 (23:41 +0200)] 
lib-http: Don't try to automatically retry requests whose payload was already lost.
Patch by Stephan Bosch.

11 years agostats: Workaround opening /proc/self/io in processes that have only temporarily dropp...
Timo Sirainen [Sun, 8 Dec 2013 21:26:40 +0000 (23:26 +0200)] 
stats: Workaround opening /proc/self/io in processes that have only temporarily dropped root privileges.

11 years agoquota: Allow mailbox names in quota_rules to contain "*" and "?" wildcards.
Timo Sirainen [Sun, 8 Dec 2013 21:04:18 +0000 (23:04 +0200)] 
quota: Allow mailbox names in quota_rules to contain "*" and "?" wildcards.

11 years agofts: Fixed crash with some search queries in empty mailbox.
Timo Sirainen [Sun, 8 Dec 2013 20:30:10 +0000 (22:30 +0200)] 
fts: Fixed crash with some search queries in empty mailbox.

11 years agomaster: Finished the previous DEBUG_OUTOFMEM -> CORE_OUTOFMEM and CORE_ERROR change.
Timo Sirainen [Sun, 8 Dec 2013 20:21:40 +0000 (22:21 +0200)] 
master: Finished the previous DEBUG_OUTOFMEM -> CORE_OUTOFMEM and CORE_ERROR change.

11 years agoRenamed DEBUG_OUTOFMEM environment to CORE_OUTOFMEM. Added CORE_ERROR to dump core...
Timo Sirainen [Sun, 8 Dec 2013 20:20:12 +0000 (22:20 +0200)] 
Renamed DEBUG_OUTOFMEM environment to CORE_OUTOFMEM. Added CORE_ERROR to dump core on the first error.

11 years agoquota: Added support for SETQUOTA IMAP command.
Timo Sirainen [Sun, 8 Dec 2013 19:26:29 +0000 (21:26 +0200)] 
quota: Added support for SETQUOTA IMAP command.
The configuration is done via quota_set setting. Currently only dict backend
is supported. For example:

plugin {
  quota_set = dict:file:/var/lib/dovecot/quota/%u
}
The SETQUOTA command is available only for the "admin" user (userdb lookup
must return admin=y).

11 years agoimap-quota: Admin user can (again) use GETQUOTA for other users' quota roots.
Timo Sirainen [Sun, 8 Dec 2013 19:24:10 +0000 (21:24 +0200)] 
imap-quota: Admin user can (again) use GETQUOTA for other users' quota roots.

11 years agolib-storage: Added mail_user->admin flag.
Timo Sirainen [Sun, 8 Dec 2013 19:22:38 +0000 (21:22 +0200)] 
lib-storage: Added mail_user->admin flag.
The previous admin-flag used to mix up "admin user" and "admin tool", while
this new purpose only means "admin user".

11 years agolib-dict: Added "fs" wrapper dict backend, which uses lib-fs.
Timo Sirainen [Sun, 8 Dec 2013 19:13:22 +0000 (21:13 +0200)] 
lib-dict: Added "fs" wrapper dict backend, which uses lib-fs.
Each dict key is a separate file where the file's contents are the dict
value.

11 years agoauth: Added userdb result_success/failure/tempfail and skip settings, similar to...
Timo Sirainen [Sun, 8 Dec 2013 18:48:03 +0000 (20:48 +0200)] 
auth: Added userdb result_success/failure/tempfail and skip settings, similar to passdb's.

11 years agolib-storage: Don't crash in mailbox_is_inconsistent() if mailbox hasn't been opened.
Timo Sirainen [Sun, 8 Dec 2013 17:02:12 +0000 (19:02 +0200)] 
lib-storage: Don't crash in mailbox_is_inconsistent() if mailbox hasn't been opened.

11 years agoauth: passdb/userdb dict rewrite to support more complex configuration.
Timo Sirainen [Sun, 8 Dec 2013 17:00:31 +0000 (19:00 +0200)] 
auth: passdb/userdb dict rewrite to support more complex configuration.
See the new doc/example-config/dovecot-dict-auth.conf.ext for explanation
how it works. The old configuration format will also stay functional.

11 years agolib-imap: imap_envelope_parse() added extra "," after address group.
Timo Sirainen [Tue, 3 Dec 2013 19:31:59 +0000 (21:31 +0200)] 
lib-imap: imap_envelope_parse() added extra "," after address group.
This function wasn't actually used by Dovecot anywhere anymore.
Patch by Potapov Sergey.

11 years agoimap: If SELECT fails with "mailbox is inconsistent", disconnect client. (Plus relate...
Timo Sirainen [Tue, 3 Dec 2013 15:29:38 +0000 (17:29 +0200)] 
imap: If SELECT fails with "mailbox is inconsistent", disconnect client. (Plus related cleanups.)
The inconsistency can also be used to indicate that something is badly wrong
and nothing useful can be done before client reconnects.

11 years agolib-http: Removed assert
Timo Sirainen [Tue, 3 Dec 2013 15:17:03 +0000 (17:17 +0200)] 
lib-http: Removed assert
Time can't be relied on exactly.

11 years agoimap: Don't send [NOMODSEQ] on SELECT/EXAMINE reply when condstore hasn't been enable...
Timo Sirainen [Mon, 2 Dec 2013 23:33:18 +0000 (01:33 +0200)] 
imap: Don't send [NOMODSEQ] on SELECT/EXAMINE reply when condstore hasn't been enabled yet.
This is definitely the better behavior and was also clearly intended by the
CONDSTORE RFC, although with some mixed language.

11 years agopop3: Handle UIDL failures by disconnecting the client instead of killing the whole...
Timo Sirainen [Mon, 2 Dec 2013 16:47:52 +0000 (18:47 +0200)] 
pop3: Handle UIDL failures by disconnecting the client instead of killing the whole process.

11 years agoreplicator: Give a better error message with path when replicator.db is corrupted.
Timo Sirainen [Tue, 26 Nov 2013 20:10:23 +0000 (21:10 +0100)] 
replicator: Give a better error message with path when replicator.db is corrupted.

11 years agoAdded signature for changeset 2852a7c55fc7
Timo Sirainen [Sun, 24 Nov 2013 23:24:35 +0000 (01:24 +0200)] 
Added signature for changeset 2852a7c55fc7

11 years agoAdded tag 2.2.9 for changeset 2852a7c55fc7
Timo Sirainen [Sun, 24 Nov 2013 23:24:32 +0000 (01:24 +0200)] 
Added tag 2.2.9 for changeset 2852a7c55fc7

11 years agoReleased v2.2.9. 2.2.9
Timo Sirainen [Sun, 24 Nov 2013 23:24:32 +0000 (01:24 +0200)] 
Released v2.2.9.

11 years agoMakefile: Added missing \
Timo Sirainen [Sun, 24 Nov 2013 22:46:40 +0000 (00:46 +0200)] 
Makefile: Added missing \

11 years agoMakefile: Added missing header files
Timo Sirainen [Sun, 24 Nov 2013 22:44:21 +0000 (00:44 +0200)] 
Makefile: Added missing header files

11 years agolib-compression: Added support for liblzma (xz)
Timo Sirainen [Sun, 24 Nov 2013 21:02:13 +0000 (23:02 +0200)] 
lib-compression: Added support for liblzma (xz)
Annoyingly this is mainly copy&pasted [io]stream-bzlib, but I'm not sure if
it's worth the effort to try to create common functions for them.

11 years agoman: doveadm-mailbox.1: Added -g's description for mailbox create.
Pascal Volk [Sun, 24 Nov 2013 20:19:48 +0000 (20:19 +0000)] 
man: doveadm-mailbox.1: Added -g's description for mailbox create.

11 years agoFixed sscanf() error handling.
Timo Sirainen [Sun, 24 Nov 2013 19:41:06 +0000 (21:41 +0200)] 
Fixed sscanf() error handling.
Patch by Jann Horn.

11 years agoman: doveadm-log.1: Added description for option -s.
Pascal Volk [Sun, 24 Nov 2013 19:58:45 +0000 (19:58 +0000)] 
man: doveadm-log.1: Added description for option -s.

11 years agoman: doveadm-import.1: Added description for option -s.
Pascal Volk [Sun, 24 Nov 2013 18:29:55 +0000 (18:29 +0000)] 
man: doveadm-import.1: Added description for option -s.

11 years agoman: doveadm-expunge.1: Added option -d also to section synopsis.
Pascal Volk [Sun, 24 Nov 2013 18:02:40 +0000 (18:02 +0000)] 
man: doveadm-expunge.1: Added option -d also to section synopsis.

11 years agoData stack has now an extra NULL pointer padding before its actual data starts.
Timo Sirainen [Sun, 24 Nov 2013 18:41:42 +0000 (20:41 +0200)] 
Data stack has now an extra NULL pointer padding before its actual data starts.
This is just an extra safety measure against buffer overflows.
Patch by Jann Horn.

11 years agoauth: Fixed (non-exploitable) buffer overflow in DIGEST-MD5 data parsing.
Timo Sirainen [Sun, 24 Nov 2013 18:27:27 +0000 (20:27 +0200)] 
auth: Fixed (non-exploitable) buffer overflow in DIGEST-MD5 data parsing.
Found by Jann Horn.

11 years agoman: doveadm-move.1: Fixed syntax errors, escaped some dashes.
Pascal Volk [Sat, 23 Nov 2013 23:22:09 +0000 (23:22 +0000)] 
man: doveadm-move.1: Fixed syntax errors, escaped some dashes.

11 years agoman: doveadm-index.1: Added description for options -n and -q.
Pascal Volk [Sat, 23 Nov 2013 19:35:09 +0000 (19:35 +0000)] 
man: doveadm-index.1: Added description for options -n and -q.

11 years agofts: Renamed fts_autoindex_on_save to fts_autoindex
Timo Sirainen [Sat, 23 Nov 2013 19:18:30 +0000 (21:18 +0200)] 
fts: Renamed fts_autoindex_on_save to fts_autoindex

11 years agoreplicator: Memory leak fix for previous commit
Timo Sirainen [Sat, 23 Nov 2013 19:13:26 +0000 (21:13 +0200)] 
replicator: Memory leak fix for previous commit

11 years agoreplicator: Added replication_dsync_parameters setting to pass "doveadm sync" parameters.
Timo Sirainen [Sat, 23 Nov 2013 19:12:39 +0000 (21:12 +0200)] 
replicator: Added replication_dsync_parameters setting to pass "doveadm sync" parameters.
-f and -s parameters are added automatically when needed.

11 years agoman: doveadm-move.1: Added description for 'user source_user'.
Pascal Volk [Sat, 23 Nov 2013 18:24:24 +0000 (18:24 +0000)] 
man: doveadm-move.1: Added description for 'user source_user'.

11 years agofts: Added plugin { fts_autoindex_on_save } setting.
Timo Sirainen [Sat, 23 Nov 2013 17:28:48 +0000 (19:28 +0200)] 
fts: Added plugin { fts_autoindex_on_save } setting.
When enabled and a mail is saved/copied, the indexer process is requested to
index the changed mailbox.

fts_autoindex_max_recent_msgs setting can also be used to skip indexing
mailboxes that have too many \Recent messages (implying that the mailbox is
never actually accessed). This corresponds to doveadm index -n parameter.

11 years agoman: doveadm-user.1: Added description for the -u option.
Pascal Volk [Sat, 23 Nov 2013 16:28:04 +0000 (16:28 +0000)] 
man: doveadm-user.1: Added description for the -u option.

11 years agolib-dns: If existing dns connection dies in write(), retry connect once.
Timo Sirainen [Sat, 23 Nov 2013 16:35:08 +0000 (18:35 +0200)] 
lib-dns: If existing dns connection dies in write(), retry connect once.

11 years agolib-http: Compiler warning fix
Timo Sirainen [Sat, 23 Nov 2013 10:19:49 +0000 (12:19 +0200)] 
lib-http: Compiler warning fix

11 years agolib-storage: Non-crashing way of avoiding fs lookups for storages without mail root.
Timo Sirainen [Fri, 22 Nov 2013 22:38:41 +0000 (00:38 +0200)] 
lib-storage: Non-crashing way of avoiding fs lookups for storages without mail root.

11 years agolib-http: Fixed request hang on connect() timeout.
Timo Sirainen [Fri, 22 Nov 2013 22:00:43 +0000 (00:00 +0200)] 
lib-http: Fixed request hang on connect() timeout.

11 years agolib-storage: Don't do filesystem permission lookups if storage has no mailbox root...
Timo Sirainen [Fri, 22 Nov 2013 21:52:37 +0000 (23:52 +0200)] 
lib-storage: Don't do filesystem permission lookups if storage has no mailbox root dir.

11 years agodns: Don't idle-disconnect clients
Timo Sirainen [Fri, 22 Nov 2013 21:31:36 +0000 (23:31 +0200)] 
dns: Don't idle-disconnect clients
It's the job for the clients.

11 years agolib-dns: Fixed handling write() failure to dns-lookup server process.
Timo Sirainen [Fri, 22 Nov 2013 21:15:07 +0000 (23:15 +0200)] 
lib-dns: Fixed handling write() failure to dns-lookup server process.

11 years agohttp: Implemented delayed requests scheduling.
Stephan Bosch [Fri, 22 Nov 2013 20:12:08 +0000 (22:12 +0200)] 
http: Implemented delayed requests scheduling.
Requests can now be (re)submitted with a delay. The request is not sent
until the delay time expires. This facilitates handling the Retry-After
header in responses. This can either be performed automatically if the
indicated delay is not too long or explicitly by the code using lib-http.

11 years agohttp: Preparse Retry-After header if response status is 503 or 3xx.
Stephan Bosch [Fri, 22 Nov 2013 20:08:44 +0000 (22:08 +0200)] 
http: Preparse Retry-After header if response status is 503 or 3xx.

11 years agohttp-client: Improved handing of delayed request errors.
Stephan Bosch [Fri, 22 Nov 2013 20:08:20 +0000 (22:08 +0200)] 
http-client: Improved handing of delayed request errors.
Originally each request would have its own zero timeout, but now only one
timeout is put in the host object.

11 years agohttp-client: Changed struct http_client_host_port into a struct http_client_queue...
Stephan Bosch [Fri, 22 Nov 2013 20:07:41 +0000 (22:07 +0200)] 
http-client: Changed struct http_client_host_port into a struct http_client_queue object.
Peer and request objects now reference the queue object directly rather
than the host object. This way, there is no need to find the matching
host:port in the host anymore. This makes the queueing structure more
intuitive and more efficient. This is a first step towards support for
connecting to HTTP services through unix sockets or directing requests at
specific hosts (so not from the URL). This patch also fixes a potential
timeout leak (to_connect) in http_client_host_port (now http_client_queue)
and makes sure it is moved during switch_ioloop(). Finally it updates the
structure comment at the top of http-client.c.

11 years agoiostream-rawlog: Timestamp prefix is now optional.
Timo Sirainen [Fri, 22 Nov 2013 20:05:52 +0000 (22:05 +0200)] 
iostream-rawlog: Timestamp prefix is now optional.

11 years agoAdded mail-filter plugin.
Timo Sirainen [Fri, 22 Nov 2013 17:39:13 +0000 (19:39 +0200)] 
Added mail-filter plugin.

11 years agodoveadm acl debug: Improved output
Timo Sirainen [Fri, 22 Nov 2013 17:32:06 +0000 (19:32 +0200)] 
doveadm acl debug: Improved output

11 years agoostream: Don't mark the stream closed too early after all.
Timo Sirainen [Fri, 22 Nov 2013 11:47:36 +0000 (13:47 +0200)] 
ostream: Don't mark the stream closed too early after all.
Use another flag instead to avoid losing the last data written to the stream
before closing.

11 years agolib-storage: Improved EACCES error messages for some stat() calls
Timo Sirainen [Thu, 21 Nov 2013 21:02:33 +0000 (23:02 +0200)] 
lib-storage: Improved EACCES error messages for some stat() calls

11 years agodoveadm: Added "fs metadata" command
Timo Sirainen [Wed, 20 Nov 2013 21:29:13 +0000 (23:29 +0200)] 
doveadm: Added "fs metadata" command

11 years agodsync: Fix to 128bit GUID syncing
Timo Sirainen [Wed, 20 Nov 2013 20:20:06 +0000 (22:20 +0200)] 
dsync: Fix to 128bit GUID syncing

11 years agodsync: have_only_guid128 was never actually being set.
Timo Sirainen [Wed, 20 Nov 2013 19:25:19 +0000 (21:25 +0200)] 
dsync: have_only_guid128 was never actually being set.

11 years agolib-storage: mail_get_headers*() returned only the first header from cache.
Timo Sirainen [Wed, 20 Nov 2013 13:07:26 +0000 (15:07 +0200)] 
lib-storage: mail_get_headers*() returned only the first header from cache.

11 years agolib-storage: mail_get_*header*() still didn't handle cached values correctly.
Timo Sirainen [Wed, 20 Nov 2013 12:50:53 +0000 (14:50 +0200)] 
lib-storage: mail_get_*header*() still didn't handle cached values correctly.
If header ends with ":", the ":" shouldn't be returned as part of the value.

11 years agolib-storage: mail_get_*header*() were unnecessarily looking up the headers twice.
Timo Sirainen [Wed, 20 Nov 2013 12:38:55 +0000 (14:38 +0200)] 
lib-storage: mail_get_*header*() were unnecessarily looking up the headers twice.

11 years agolib-storage: mail_get_*header*() didn't remove leading whitespace for headers from...
Timo Sirainen [Wed, 20 Nov 2013 12:37:44 +0000 (14:37 +0200)] 
lib-storage: mail_get_*header*() didn't remove leading whitespace for headers from cache.
But it was removed when the headers were found by parsing the full header.

11 years agoAdded signature for changeset 095a777edc26
Timo Sirainen [Tue, 19 Nov 2013 21:18:11 +0000 (23:18 +0200)] 
Added signature for changeset 095a777edc26

11 years agoAdded tag 2.2.8 for changeset 095a777edc26
Timo Sirainen [Tue, 19 Nov 2013 21:18:01 +0000 (23:18 +0200)] 
Added tag 2.2.8 for changeset 095a777edc26

11 years agoReleased v2.2.8. 2.2.8
Timo Sirainen [Tue, 19 Nov 2013 21:18:01 +0000 (23:18 +0200)] 
Released v2.2.8.

11 years agoauth: Fixed potential crash.
Timo Sirainen [Tue, 19 Nov 2013 21:17:07 +0000 (23:17 +0200)] 
auth: Fixed potential crash.

11 years agolmtp: Make sure output is flushed before disconnection.
Timo Sirainen [Tue, 19 Nov 2013 15:21:21 +0000 (17:21 +0200)] 
lmtp: Make sure output is flushed before disconnection.

11 years agolib-storage: Error handling fix for layout=index when mailbox creation fails.
Timo Sirainen [Tue, 19 Nov 2013 14:13:12 +0000 (16:13 +0200)] 
lib-storage: Error handling fix for layout=index when mailbox creation fails.

11 years agodoveadm user: Fixed now printing with a non-default formatter
Timo Sirainen [Mon, 18 Nov 2013 14:26:31 +0000 (16:26 +0200)] 
doveadm user: Fixed now printing with a non-default formatter

11 years agodoveadm user: Fixed printing multiple users
Timo Sirainen [Mon, 18 Nov 2013 14:23:42 +0000 (16:23 +0200)] 
doveadm user: Fixed printing multiple users

11 years agodoveadm auth/user: Fixes to auth_socket_path handling.
Timo Sirainen [Mon, 18 Nov 2013 14:18:53 +0000 (16:18 +0200)] 
doveadm auth/user: Fixes to auth_socket_path handling.
doveadm user (without -u parameter) was ignoring "-a" parameter entirely.
Others weren't using auth_socket_path setting.

11 years agolib-storage: Added mail_storage_service_set_auth_conn()
Timo Sirainen [Mon, 18 Nov 2013 14:15:38 +0000 (16:15 +0200)] 
lib-storage: Added mail_storage_service_set_auth_conn()

11 years agodoveadm user: Fixed looking up multiple users when they had different UIDs
Timo Sirainen [Mon, 18 Nov 2013 13:46:46 +0000 (15:46 +0200)] 
doveadm user: Fixed looking up multiple users when they had different UIDs

11 years agoman: Added doveadm-batch.1.
Pascal Volk [Sun, 17 Nov 2013 16:58:20 +0000 (16:58 +0000)] 
man: Added doveadm-batch.1.

11 years agodsync: Support syncing storages with 128bit GUIDs <-> string GUIDs.
Timo Sirainen [Sun, 17 Nov 2013 15:59:05 +0000 (17:59 +0200)] 
dsync: Support syncing storages with 128bit GUIDs <-> string GUIDs.

11 years agolib-storage: Fixed memory leak in mail_add_temp_wanted_fields()
Timo Sirainen [Sun, 17 Nov 2013 15:15:42 +0000 (17:15 +0200)] 
lib-storage: Fixed memory leak in mail_add_temp_wanted_fields()

11 years agoimapc: Merge identical FETCH commands together (only updating UID range)
Timo Sirainen [Sun, 17 Nov 2013 14:59:33 +0000 (16:59 +0200)] 
imapc: Merge identical FETCH commands together (only updating UID range)

11 years agodsync: Tell search that we want to fetch mail streams so prefetching works.
Timo Sirainen [Sun, 17 Nov 2013 14:58:42 +0000 (16:58 +0200)] 
dsync: Tell search that we want to fetch mail streams so prefetching works.

11 years agodsync: Set wanted_fields/headers for the whole search request when possible.
Timo Sirainen [Sun, 17 Nov 2013 14:11:31 +0000 (16:11 +0200)] 
dsync: Set wanted_fields/headers for the whole search request when possible.

11 years agoimapc: Avoid sending unnecessary IDLEs that are immediately aborted.
Timo Sirainen [Sun, 17 Nov 2013 13:13:58 +0000 (15:13 +0200)] 
imapc: Avoid sending unnecessary IDLEs that are immediately aborted.

11 years agolib-imap-client: Don't reset timeout while waiting for IDLE DONE reply.
Timo Sirainen [Sun, 17 Nov 2013 13:03:31 +0000 (15:03 +0200)] 
lib-imap-client: Don't reset timeout while waiting for IDLE DONE reply.

11 years agolib-imap-client: Make sure command timeout is used also for IDLE DONE.
Timo Sirainen [Sun, 17 Nov 2013 12:04:22 +0000 (14:04 +0200)] 
lib-imap-client: Make sure command timeout is used also for IDLE DONE.

11 years agoAdded io_loop_add/remove_switch_callback() to call a callback when ioloop is changed.
Timo Sirainen [Sat, 16 Nov 2013 23:04:50 +0000 (01:04 +0200)] 
Added io_loop_add/remove_switch_callback() to call a callback when ioloop is changed.

11 years agolib-imap-client: Don't send NOOP if we're still waiting for a command reply.
Timo Sirainen [Sat, 16 Nov 2013 23:01:50 +0000 (01:01 +0200)] 
lib-imap-client: Don't send NOOP if we're still waiting for a command reply.

11 years agolib-imap-client: Make sure command timeout is always set.
Timo Sirainen [Sat, 16 Nov 2013 22:59:39 +0000 (00:59 +0200)] 
lib-imap-client: Make sure command timeout is always set.

11 years agoimapc: Fixes to imapc_feature fetch-headers
Timo Sirainen [Sat, 16 Nov 2013 22:41:23 +0000 (00:41 +0200)] 
imapc: Fixes to imapc_feature fetch-headers

11 years agolib-index: Recent change broke cache transactions for more than 1 mail.
Timo Sirainen [Sat, 16 Nov 2013 19:58:31 +0000 (21:58 +0200)] 
lib-index: Recent change broke cache transactions for more than 1 mail.

11 years agoUse io_loop_set_current() instead of directly setting it.
Timo Sirainen [Sat, 16 Nov 2013 19:20:31 +0000 (21:20 +0200)] 
Use io_loop_set_current() instead of directly setting it.

11 years agodsync: Give hints to lib-storage about what fields we're going to fetch.
Timo Sirainen [Sat, 16 Nov 2013 19:17:56 +0000 (21:17 +0200)] 
dsync: Give hints to lib-storage about what fields we're going to fetch.