]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
11 years agoimapc: When sending FETCH, always request also missing wanted_fields.
Timo Sirainen [Sat, 16 Nov 2013 18:10:27 +0000 (20:10 +0200)] 
imapc: When sending FETCH, always request also missing wanted_fields.
This avoids sending multiple FETCH commands when prefetch hadn't already
fetched everything.

11 years agoimapc: Avoid FETCH INTERNALDATE for getting save_date when we already know received_date.
Timo Sirainen [Sat, 16 Nov 2013 18:09:19 +0000 (20:09 +0200)] 
imapc: Avoid FETCH INTERNALDATE for getting save_date when we already know received_date.

11 years agoimapc: Don't send FETCHes for data that is already in cache.
Timo Sirainen [Sat, 16 Nov 2013 18:06:34 +0000 (20:06 +0200)] 
imapc: Don't send FETCHes for data that is already in cache.

11 years agoimapc: Crashfix for previous change
Timo Sirainen [Sat, 16 Nov 2013 17:41:07 +0000 (19:41 +0200)] 
imapc: Crashfix for previous change

11 years agoimapc: Added imapc_feature fetch-header.
Timo Sirainen [Sat, 16 Nov 2013 17:36:40 +0000 (19:36 +0200)] 
imapc: Added imapc_feature fetch-header.
It uses FETCH BODY.PEEK[HEADER.FIELDS (...)] whenever possible instead of
fetching the entire header.

11 years agolib-storage: API comment update
Timo Sirainen [Sat, 16 Nov 2013 17:35:10 +0000 (19:35 +0200)] 
lib-storage: API comment update

11 years agolib-index: Support a small in-memory cache even with INDEX=MEMORY
Timo Sirainen [Sat, 16 Nov 2013 17:34:57 +0000 (19:34 +0200)] 
lib-index: Support a small in-memory cache even with INDEX=MEMORY

11 years agolib-index: mail_cache_lookup*() can now finds also the latest mail_cache_add()ed...
Timo Sirainen [Sat, 16 Nov 2013 17:20:10 +0000 (19:20 +0200)] 
lib-index: mail_cache_lookup*() can now finds also the latest mail_cache_add()ed data.

11 years agoauth: Don't crash if passwd-file is used for authentication but it has no passwords.
Timo Sirainen [Sat, 16 Nov 2013 15:46:10 +0000 (17:46 +0200)] 
auth: Don't crash if passwd-file is used for authentication but it has no passwords.

11 years agoman: Added description for command `doveadm copy`.
Pascal Volk [Sat, 16 Nov 2013 14:06:32 +0000 (14:06 +0000)] 
man: Added description for command `doveadm copy`.

11 years agomail_attachment_*: Fixed "stream doesn't support seeking backwards" panic
Timo Sirainen [Fri, 8 Nov 2013 15:48:54 +0000 (17:48 +0200)] 
mail_attachment_*: Fixed "stream doesn't support seeking backwards" panic
Caused by recent changes.

11 years agolib-fs: Don't crash if istream-fs-file is closed without never being read.
Timo Sirainen [Fri, 8 Nov 2013 15:44:25 +0000 (17:44 +0200)] 
lib-fs: Don't crash if istream-fs-file is closed without never being read.

11 years agomdbox_deleted: Index was synced with wrong flags.
Timo Sirainen [Fri, 8 Nov 2013 15:40:13 +0000 (16:40 +0100)] 
mdbox_deleted: Index was synced with wrong flags.

11 years agolib-storage: Give name to attachments-connector istream.
Timo Sirainen [Fri, 8 Nov 2013 15:39:52 +0000 (16:39 +0100)] 
lib-storage: Give name to attachments-connector istream.

11 years agozlib: Give a name to zlib istreams
Timo Sirainen [Fri, 8 Nov 2013 15:12:32 +0000 (16:12 +0100)] 
zlib: Give a name to zlib istreams

11 years agodoveadm mailbox create: Added back -s parameter that was recently accidentally removed.
Timo Sirainen [Fri, 8 Nov 2013 13:44:57 +0000 (14:44 +0100)] 
doveadm mailbox create: Added back -s parameter that was recently accidentally removed.

11 years agolib-storage: Moved more of dbox attachments code to generic code.
Timo Sirainen [Wed, 6 Nov 2013 21:00:58 +0000 (23:00 +0200)] 
lib-storage: Moved more of dbox attachments code to generic code.

11 years agodbox: Use lib-fs API also for reading the attachments.
Timo Sirainen [Wed, 6 Nov 2013 19:10:22 +0000 (21:10 +0200)] 
dbox: Use lib-fs API also for reading the attachments.

11 years agolib-storage: Added mailbox_list_init_fs() to easily initialize fs.
Timo Sirainen [Wed, 6 Nov 2013 19:08:42 +0000 (21:08 +0200)] 
lib-storage: Added mailbox_list_init_fs() to easily initialize fs.
Use it for dbox's attachment_fs.

11 years agolib-fs: Added istream-fs-file to lazily read from fs_file.
Timo Sirainen [Wed, 6 Nov 2013 19:06:15 +0000 (21:06 +0200)] 
lib-fs: Added istream-fs-file to lazily read from fs_file.

11 years agoistream: Added i_stream_init_parent() to lazily initialize the parent stream.
Timo Sirainen [Wed, 6 Nov 2013 19:05:51 +0000 (21:05 +0200)] 
istream: Added i_stream_init_parent() to lazily initialize the parent stream.

11 years agolib-http: Use [io]_stream_get_error() instead of just errno strings.
Timo Sirainen [Wed, 6 Nov 2013 17:03:10 +0000 (19:03 +0200)] 
lib-http: Use [io]_stream_get_error() instead of just errno strings.

11 years agodsync: Use i_stream_get_error() instead of just errno in stream error messages.
Timo Sirainen [Wed, 6 Nov 2013 15:13:53 +0000 (17:13 +0200)] 
dsync: Use i_stream_get_error() instead of just errno in stream error messages.

11 years agoreplicator: Database should be exported (not imported!) every 15 mins.
Timo Sirainen [Wed, 6 Nov 2013 14:33:37 +0000 (16:33 +0200)] 
replicator: Database should be exported (not imported!) every 15 mins.

11 years agomdbox: Fixed race condition when mailbox GUID was looked up before mailbox create...
Timo Sirainen [Wed, 6 Nov 2013 13:30:15 +0000 (15:30 +0200)] 
mdbox: Fixed race condition when mailbox GUID was looked up before mailbox create was finished.

11 years agolib-imap-storage: Fixed leaking istream on error conditions.
Timo Sirainen [Wed, 6 Nov 2013 11:00:13 +0000 (13:00 +0200)] 
lib-imap-storage: Fixed leaking istream on error conditions.
Caught by Tomasz PotÄ™ga

11 years agoimap: Fixed potential crash if client disconnected during APPEND.
Timo Sirainen [Wed, 6 Nov 2013 10:53:58 +0000 (12:53 +0200)] 
imap: Fixed potential crash if client disconnected during APPEND.

11 years agolib-mail: Fixed infinite loop in message-parser if message ends with --boundary+CR
Timo Sirainen [Tue, 5 Nov 2013 18:11:11 +0000 (20:11 +0200)] 
lib-mail: Fixed infinite loop in message-parser if message ends with --boundary+CR
Thanks to Tomasz Potega for finding this.

11 years agolib-storage: Added FULLDIRNAME=name to mail_location.
Timo Sirainen [Tue, 5 Nov 2013 11:12:25 +0000 (13:12 +0200)] 
lib-storage: Added FULLDIRNAME=name to mail_location.
The difference to DIRNAME is that the name is used also for index and
control directories.

11 years agossl-params: Compiler warning fix when building without OpenSSL
Timo Sirainen [Mon, 4 Nov 2013 07:47:17 +0000 (09:47 +0200)] 
ssl-params: Compiler warning fix when building without OpenSSL

11 years agoostream: Mark stream closed before handling its callback to avoid infinite loops.
Timo Sirainen [Sun, 3 Nov 2013 21:27:15 +0000 (23:27 +0200)] 
ostream: Mark stream closed before handling its callback to avoid infinite loops.
The callback could call o_stream_copy_error_from_parent(), which in turn
would try to close the same ostream again.

11 years agoAdded signature for changeset b5b118701aa8
Timo Sirainen [Sun, 3 Nov 2013 20:04:53 +0000 (22:04 +0200)] 
Added signature for changeset b5b118701aa8

11 years agoAdded tag 2.2.7 for changeset b5b118701aa8
Timo Sirainen [Sun, 3 Nov 2013 20:04:50 +0000 (22:04 +0200)] 
Added tag 2.2.7 for changeset b5b118701aa8

11 years agoReleased v2.2.7. 2.2.7
Timo Sirainen [Sun, 3 Nov 2013 20:04:50 +0000 (22:04 +0200)] 
Released v2.2.7.

11 years agoMake static analyzer happier
Timo Sirainen [Sun, 3 Nov 2013 19:48:24 +0000 (21:48 +0200)] 
Make static analyzer happier

11 years agoMake static analyzer happier.
Timo Sirainen [Sun, 3 Nov 2013 19:47:46 +0000 (21:47 +0200)] 
Make static analyzer happier.

11 years agoauth-worker: Potential crashfix at deinit
Timo Sirainen [Sun, 3 Nov 2013 19:45:37 +0000 (21:45 +0200)] 
auth-worker: Potential crashfix at deinit

11 years agoauth: Crashfix to "doveadm auth cache flush" when auth cache was disabled
Timo Sirainen [Sun, 3 Nov 2013 19:44:06 +0000 (21:44 +0200)] 
auth: Crashfix to "doveadm auth cache flush" when auth cache was disabled

11 years agoauth: Potential crashfix
Timo Sirainen [Sun, 3 Nov 2013 19:42:47 +0000 (21:42 +0200)] 
auth: Potential crashfix

11 years agoCall lib_atexit() callbacks before destroying the lib-master ioloop.
Timo Sirainen [Sun, 3 Nov 2013 18:56:25 +0000 (20:56 +0200)] 
Call lib_atexit() callbacks before destroying the lib-master ioloop.

11 years agolib-imap: imap_arg_get_atom() should also treat NIL as valid atom.
Timo Sirainen [Sat, 2 Nov 2013 23:12:24 +0000 (01:12 +0200)] 
lib-imap: imap_arg_get_atom() should also treat NIL as valid atom.

11 years agolib-storage: Fixed parsing NILs in search parameters.
Timo Sirainen [Sat, 2 Nov 2013 20:57:27 +0000 (22:57 +0200)] 
lib-storage: Fixed parsing NILs in search parameters.

11 years agolib-imap: Fixed NIL astring to not lose its case-sensitivity.
Timo Sirainen [Sat, 2 Nov 2013 20:42:32 +0000 (22:42 +0200)] 
lib-imap: Fixed NIL astring to not lose its case-sensitivity.

11 years agolib-imap: When writing "NIL" as astring, write it always as a "quoted".
Timo Sirainen [Sat, 2 Nov 2013 20:32:23 +0000 (22:32 +0200)] 
lib-imap: When writing "NIL" as astring, write it always as a "quoted".

11 years agoimap: Fixed GETMETADATA NIL to treat it as "NIL"
Timo Sirainen [Sat, 2 Nov 2013 20:31:14 +0000 (22:31 +0200)] 
imap: Fixed GETMETADATA NIL to treat it as "NIL"

11 years agolib-imap: NIL as astring is the same as "NIL"
Timo Sirainen [Sat, 2 Nov 2013 20:30:42 +0000 (22:30 +0200)] 
lib-imap: NIL as astring is the same as "NIL"
This is a bit klugdy but works as long as all callers use
imap_arg_get_astring() instead of trying to handle it themselves.

11 years agoimap: Added initial support for METADATA extension.
Timo Sirainen [Sat, 2 Nov 2013 19:29:39 +0000 (21:29 +0200)] 
imap: Added initial support for METADATA extension.
For now this is enabled only when imap_metadata=yes setting is used. The
setting will go away once the feature is complete. Also mail_attribute_dict
must be set.

TODO:
 - Metadata doesn't work for public namespaces. There should probably be a
   mail_attribute_public_dict setting for that.
 - There isn't any kind of quota or other limits
 - After ENABLE METADATA start sending untagged METADATA entries to clients
 - /shared/admin should probably return postmaster_address URL
 - Check if we handle ACLs correctly
 - RFC says that it SHOULD be possible to set METADATA entries to \NoSelect
   mailboxes. We probably will never allow this though.

11 years agolib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('
Timo Sirainen [Sat, 2 Nov 2013 18:09:28 +0000 (20:09 +0200)] 
lib-imap: Added IMAP_PARSE_FLAG_STOP_AT_LIST for stopping after '('

11 years agolib-imap: IMAP protocol parser was parsing NIL case-sensitively.
Timo Sirainen [Sat, 2 Nov 2013 18:05:08 +0000 (20:05 +0200)] 
lib-imap: IMAP protocol parser was parsing NIL case-sensitively.
Luckily no commands currently actually use NILs.

11 years agossl-params: Don't fail completely if 512 bit DH parameters generation fails.
Timo Sirainen [Sat, 2 Nov 2013 13:30:47 +0000 (15:30 +0200)] 
ssl-params: Don't fail completely if 512 bit DH parameters generation fails.

11 years agossl-params: Added ssl_dh_parameters_length & removed ssl_parameters_regenerate setting.
Timo Sirainen [Sat, 2 Nov 2013 13:27:28 +0000 (15:27 +0200)] 
ssl-params: Added ssl_dh_parameters_length & removed ssl_parameters_regenerate setting.
ssl_parameters_regenerate was based on some text from GNUTLS documentation a
long time ago, but there's really not much point in doing it.

Ideally we should also support "openssl dhparam" input files, but for now
there's the ssl_dh_parameters_length setting that can be used to specify the
wanted DH parameters length. If the current ssl-parameters.dat has a
different length, it's regenerated.

We should probably at some point support also built-in DH parameters which
are returned while the ssl-params runs.

11 years agossl-params: Fixed closing listener fds for regeneration process.
Timo Sirainen [Sat, 2 Nov 2013 13:18:15 +0000 (15:18 +0200)] 
ssl-params: Fixed closing listener fds for regeneration process.

11 years agodsync: Don't track too new changes from transaction log.
Timo Sirainen [Sat, 2 Nov 2013 12:19:23 +0000 (14:19 +0200)] 
dsync: Don't track too new changes from transaction log.
This mattered only during race conditions while there were changes being
done to the mailbox during syncing.

11 years agoauth: Added %{session_pid} variable for userdb lookups in login requests.
Timo Sirainen [Sat, 2 Nov 2013 11:52:30 +0000 (13:52 +0200)] 
auth: Added %{session_pid} variable for userdb lookups in login requests.
session_pid is now always sent to auth process. A new request_auth_token
parameter was added to specify if auth_token should be returned or not.

11 years agomaildir: If filename begins with ':', rename it immediately instead of causing errors.
Timo Sirainen [Sat, 2 Nov 2013 11:34:17 +0000 (13:34 +0200)] 
maildir: If filename begins with ':', rename it immediately instead of causing errors.

11 years agombox: Added assert to try to catch corruption.
Timo Sirainen [Sat, 2 Nov 2013 11:14:16 +0000 (13:14 +0200)] 
mbox: Added assert to try to catch corruption.

11 years agoauth: passdb shadow supports now lookup_credentials() API
Timo Sirainen [Sat, 2 Nov 2013 10:46:08 +0000 (12:46 +0200)] 
auth: passdb shadow supports now lookup_credentials() API

11 years agoauth: Return a reason string if PASS lookup fails because passdbs don't support it.
Timo Sirainen [Sat, 2 Nov 2013 10:42:55 +0000 (12:42 +0200)] 
auth: Return a reason string if PASS lookup fails because passdbs don't support it.

11 years agoauth: passdb passwd supports now lookup_credentials() API
Timo Sirainen [Sat, 2 Nov 2013 10:37:10 +0000 (12:37 +0200)] 
auth: passdb passwd supports now lookup_credentials() API
It's not very useful, but at least it allows the lookup itself to succeed.

11 years agomdbox: When mail's refcount is too high, don't prevent shrinking the refcount.
Timo Sirainen [Sat, 2 Nov 2013 10:25:09 +0000 (12:25 +0200)] 
mdbox: When mail's refcount is too high, don't prevent shrinking the refcount.

11 years agodoveadm import: Fixed translating different source and dest hierarchy separators...
Timo Sirainen [Sat, 2 Nov 2013 10:14:17 +0000 (12:14 +0200)] 
doveadm import: Fixed translating different source and dest hierarchy separators in mailbox names.

11 years agolib-storage: If hook is forced, don't bother checking if it's in user's mail_plugins.
Timo Sirainen [Fri, 1 Nov 2013 14:44:25 +0000 (16:44 +0200)] 
lib-storage: If hook is forced, don't bother checking if it's in user's mail_plugins.

11 years agolib-storage: Hooks weren't called exactly in the order they were intended.
Timo Sirainen [Fri, 1 Nov 2013 14:43:53 +0000 (16:43 +0200)] 
lib-storage: Hooks weren't called exactly in the order they were intended.
The comparison didn't skip the paths, so the "lib" prefix skipping didn't
work.

11 years agomodule-dir: Allow plugins to have deinit() function without init() function
Timo Sirainen [Wed, 30 Oct 2013 10:11:54 +0000 (12:11 +0200)] 
module-dir: Allow plugins to have deinit() function without init() function

11 years agoCompiling fix for old GCC
Timo Sirainen [Tue, 29 Oct 2013 19:16:05 +0000 (21:16 +0200)] 
Compiling fix for old GCC

11 years agolib-storage: Allow storage name to contain '_'
Timo Sirainen [Tue, 29 Oct 2013 19:11:10 +0000 (21:11 +0200)] 
lib-storage: Allow storage name to contain '_'

11 years agoconfigure: Added mdbox_deleted storage.
Timo Sirainen [Tue, 29 Oct 2013 19:10:33 +0000 (21:10 +0200)] 
configure: Added mdbox_deleted storage.

11 years agomdbox: Added "mdbox_deleted" storage, which can be used to access messages with refco...
Timo Sirainen [Tue, 29 Oct 2013 19:08:07 +0000 (21:08 +0200)] 
mdbox: Added "mdbox_deleted" storage, which can be used to access messages with refcount=0
For example:
doveadm import mdbox_deleted:~/mdbox "" mailbox inbox subject oops

11 years agolib-index: Don't mix index struct caching for in-memory vs. disk indexes.
Timo Sirainen [Tue, 29 Oct 2013 19:07:28 +0000 (21:07 +0200)] 
lib-index: Don't mix index struct caching for in-memory vs. disk indexes.

11 years agombox: Added extra assert
Timo Sirainen [Tue, 29 Oct 2013 18:26:33 +0000 (20:26 +0200)] 
mbox: Added extra assert

11 years agoimapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.
Timo Sirainen [Tue, 29 Oct 2013 17:42:14 +0000 (19:42 +0200)] 
imapc: Added a Courier-workaround for not returning UIDNEXT on SELECT.

11 years agovirtual: If virtual mailbox has no config file, assume it's just nonexistent.
Timo Sirainen [Tue, 29 Oct 2013 16:59:20 +0000 (18:59 +0200)] 
virtual: If virtual mailbox has no config file, assume it's just nonexistent.
Most importantly if the virtual namespace root doesn't have the config, it
should fail with MAIL_ERROR_NOTFOUND rather than MAIL_ERROR_NOTPOSSIBLE.

11 years agolib-http: Added http_url_escape_path()
Timo Sirainen [Tue, 29 Oct 2013 15:32:42 +0000 (17:32 +0200)] 
lib-http: Added http_url_escape_path()

11 years agodoveadm-server: Minor error message improvement.
Timo Sirainen [Mon, 28 Oct 2013 09:50:40 +0000 (11:50 +0200)] 
doveadm-server: Minor error message improvement.

11 years agodoveadm-server: ioloop change caused assert-crashes if outgoing data was buffered...
Timo Sirainen [Mon, 28 Oct 2013 09:50:14 +0000 (11:50 +0200)] 
doveadm-server: ioloop change caused assert-crashes if outgoing data was buffered at the end.

11 years agoauth: Refuse to run checkpassword script insecurely by default
Timo Sirainen [Sat, 26 Oct 2013 16:11:34 +0000 (19:11 +0300)] 
auth: Refuse to run checkpassword script insecurely by default

11 years agofts-solr: Fixed support for multiple Solr hosts when same process handles multiple...
Timo Sirainen [Sat, 26 Oct 2013 15:59:52 +0000 (18:59 +0300)] 
fts-solr: Fixed support for multiple Solr hosts when same process handles multiple users.
E.g. indexer-worker was always using only the first user's Solr host.

11 years agolib-http: Recent DNS change caused lib-http to access uninitialized memory.
Timo Sirainen [Sat, 26 Oct 2013 15:59:03 +0000 (18:59 +0300)] 
lib-http: Recent DNS change caused lib-http to access uninitialized memory.

11 years agodsync: Fixed crashes at deinit when -r rawlog parameter was used.
Timo Sirainen [Sat, 26 Oct 2013 15:31:16 +0000 (18:31 +0300)] 
dsync: Fixed crashes at deinit when -r rawlog parameter was used.

11 years agoauth: Fixed crash with auth_verbose_passwords!=no and non-plaintext auth
Timo Sirainen [Sat, 26 Oct 2013 15:07:45 +0000 (18:07 +0300)] 
auth: Fixed crash with auth_verbose_passwords!=no and non-plaintext auth

11 years agoauth: Fixed assert-crash with auth_verbose_passwords!=no and 32bit systems.
Timo Sirainen [Sat, 26 Oct 2013 15:06:26 +0000 (18:06 +0300)] 
auth: Fixed assert-crash with auth_verbose_passwords!=no and 32bit systems.
t_strndup() assert-crashed with size=UINT_MAX parameter.

11 years ago*-login: Send the auth reply back corked.
Timo Sirainen [Thu, 24 Oct 2013 13:21:10 +0000 (16:21 +0300)] 
*-login: Send the auth reply back corked.

11 years agologin proxy: Use corking when writing data.
Timo Sirainen [Thu, 24 Oct 2013 13:08:23 +0000 (16:08 +0300)] 
login proxy: Use corking when writing data.

11 years agoauth: Cache master user logins also.
Timo Sirainen [Thu, 24 Oct 2013 11:59:03 +0000 (14:59 +0300)] 
auth: Cache master user logins also.

11 years agodoveadm mailbox create: Added -g <guid> parameter to create mailbox with specific...
Timo Sirainen [Thu, 24 Oct 2013 08:25:41 +0000 (11:25 +0300)] 
doveadm mailbox create: Added -g <guid> parameter to create mailbox with specific GUID.

11 years agodoveadm copy: Don't require the extra mailbox+extra parameter checks as expunge/move...
Timo Sirainen [Wed, 23 Oct 2013 13:51:55 +0000 (16:51 +0300)] 
doveadm copy: Don't require the extra mailbox+extra parameter checks as expunge/move requires.
Perhaps they wouldn't be necessary even with move.

11 years agodoveadm expunge: Improved the error hint message about using something else besides...
Timo Sirainen [Wed, 23 Oct 2013 13:50:57 +0000 (16:50 +0300)] 
doveadm expunge: Improved the error hint message about using something else besides MAILBOX.

11 years agolib-master: Fix to previous commit.
Timo Sirainen [Wed, 23 Oct 2013 13:33:43 +0000 (16:33 +0300)] 
lib-master: Fix to previous commit.
It broke doveadm-server's "does client need authentication?" check.

11 years agostats: Hide warnings about old autocreated sessions having gotten lost.
Timo Sirainen [Wed, 23 Oct 2013 13:23:23 +0000 (16:23 +0300)] 
stats: Hide warnings about old autocreated sessions having gotten lost.

11 years agolib-master: If service_count=1, close the listener before starting to handle the...
Timo Sirainen [Wed, 23 Oct 2013 13:10:30 +0000 (16:10 +0300)] 
lib-master: If service_count=1, close the listener before starting to handle the connection.
This way if the connection handling takes a long time and the service
doesn't notice that master dies, it can keep running without keeping the
listener fds open and preventing a restart.

11 years agoreplication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.
Timo Sirainen [Wed, 23 Oct 2013 12:36:02 +0000 (15:36 +0300)] 
replication plugin: Hide write(fifo) EPIPE errors, which just mean a server restart.

11 years agodict-redis: Don't crash if we get disconnected during an open transaction.
Timo Sirainen [Wed, 23 Oct 2013 12:26:35 +0000 (15:26 +0300)] 
dict-redis: Don't crash if we get disconnected during an open transaction.

11 years agodict-redis: Don't crash when receiving invalid input instead of expected $size.
Timo Sirainen [Wed, 23 Oct 2013 12:16:52 +0000 (15:16 +0300)] 
dict-redis: Don't crash when receiving invalid input instead of expected $size.

11 years agodoveadm-server: Fixed hangs caused by previous commit
Timo Sirainen [Wed, 23 Oct 2013 11:59:57 +0000 (14:59 +0300)] 
doveadm-server: Fixed hangs caused by previous commit

11 years agoio_loop_run() now assert-crashes if it's attempted to be used recursively for the...
Timo Sirainen [Wed, 23 Oct 2013 11:35:07 +0000 (14:35 +0300)] 
io_loop_run() now assert-crashes if it's attempted to be used recursively for the same ioloop.

11 years agodoveadm-server: Don't call io_loop_run() recursively for the same ioloop.
Timo Sirainen [Wed, 23 Oct 2013 11:34:35 +0000 (14:34 +0300)] 
doveadm-server: Don't call io_loop_run() recursively for the same ioloop.
This breaks things more or less badly, especially ioloop-kqueue really
didn't like it.

11 years agolib-auth: auth_master_cache_flush() always waited for timeout before finishing.
Timo Sirainen [Wed, 23 Oct 2013 08:47:10 +0000 (11:47 +0300)] 
lib-auth: auth_master_cache_flush() always waited for timeout before finishing.

11 years agoauth: Don't crash with "doveadm auth cache flush" when cache is disabled.
Timo Sirainen [Wed, 23 Oct 2013 08:40:26 +0000 (11:40 +0300)] 
auth: Don't crash with "doveadm auth cache flush" when cache is disabled.

11 years agoioloop-kqueue: Added extra assert.
Timo Sirainen [Wed, 23 Oct 2013 08:38:07 +0000 (11:38 +0300)] 
ioloop-kqueue: Added extra assert.

11 years agolib-dns: Fixed busy looping when dns-client disconnected.
Timo Sirainen [Tue, 22 Oct 2013 16:12:38 +0000 (19:12 +0300)] 
lib-dns: Fixed busy looping when dns-client disconnected.