]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
9 years agolib: Fixed memory leak io_add_istream()+io_remove() when the stream didn't have fd.
Timo Sirainen [Tue, 1 Mar 2016 14:07:53 +0000 (16:07 +0200)] 
lib: Fixed memory leak io_add_istream()+io_remove() when the stream didn't have fd.

9 years agolib: iostream-temp allows now calling o_stream_seek() on it.
Timo Sirainen [Mon, 29 Feb 2016 20:10:06 +0000 (22:10 +0200)] 
lib: iostream-temp allows now calling o_stream_seek() on it.

9 years agodoveadm: A bit nicer way to implement doveadm_cmd_param_array() returning C-string...
Timo Sirainen [Mon, 29 Feb 2016 23:34:25 +0000 (01:34 +0200)] 
doveadm: A bit nicer way to implement doveadm_cmd_param_array() returning C-string array

So replacement of 4afc67eb9, which I accidentally pushed before remembering
about this other way.

9 years agodoveadm-kick: Rewrite to ver2 infra
Aki Tuomi [Sun, 28 Feb 2016 17:31:10 +0000 (19:31 +0200)] 
doveadm-kick: Rewrite to ver2 infra

9 years agodoveadm-kick: Print kicked usernames via doveadm-print API
Aki Tuomi [Sun, 28 Feb 2016 17:25:46 +0000 (19:25 +0200)] 
doveadm-kick: Print kicked usernames via doveadm-print API

9 years agodoveadm-who: Rewrite to ver2 infra
Aki Tuomi [Sun, 28 Feb 2016 17:07:03 +0000 (19:07 +0200)] 
doveadm-who: Rewrite to ver2 infra

9 years agodoveadm kick: Don't show who command's help on duplicate network/username masks
Aki Tuomi [Sun, 28 Feb 2016 16:59:35 +0000 (18:59 +0200)] 
doveadm kick: Don't show who command's help on duplicate network/username masks

9 years agodoveadm: Changed doveadm_cmd_param_array() to return C-string array instead of ARRAY()
Timo Sirainen [Sun, 28 Feb 2016 16:48:15 +0000 (18:48 +0200)] 
doveadm: Changed doveadm_cmd_param_array() to return C-string array instead of ARRAY()

We could support both with separate functions, but perhaps this one is enough.

9 years agodoveadm-dict: Use ver2 structures
Aki Tuomi [Mon, 29 Feb 2016 15:25:31 +0000 (17:25 +0200)] 
doveadm-dict: Use ver2 structures

9 years agodoveadm-dict: Remove i_fatal() usage
Aki Tuomi [Mon, 29 Feb 2016 15:13:32 +0000 (17:13 +0200)] 
doveadm-dict: Remove i_fatal() usage

9 years agodoveadm-fs: Use doveadm_print instead of printf
Aki Tuomi [Mon, 29 Feb 2016 14:46:02 +0000 (16:46 +0200)] 
doveadm-fs: Use doveadm_print instead of printf

9 years agodoveadm: Renamed long parameter names.
Timo Sirainen [Mon, 29 Feb 2016 11:23:56 +0000 (13:23 +0200)] 
doveadm: Renamed long parameter names.

9 years agodoveadm mailbox metadata list: Added missing mailbox parameter
Timo Sirainen [Mon, 29 Feb 2016 12:04:28 +0000 (14:04 +0200)] 
doveadm mailbox metadata list: Added missing mailbox parameter

9 years agolib-storage: Use getuid() instead of geteuid() for checking if we're running as root.
Timo Sirainen [Mon, 29 Feb 2016 10:59:23 +0000 (12:59 +0200)] 
lib-storage: Use getuid() instead of geteuid() for checking if we're running as root.

This fixes running multiple doveadm commands for different users. Running
mail_storage_service_init() + _deinit() multiple times left euid non-root,
which dropped the MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP flag.

9 years agodoveadm-server: Drop privileges only temporarily when running mail commands.
Timo Sirainen [Mon, 29 Feb 2016 11:02:40 +0000 (13:02 +0200)] 
doveadm-server: Drop privileges only temporarily when running mail commands.

This allows running mail commands for multiple users within the same doveadm
connection.

9 years agodoveadm-http: Fixed crash on unknown commands.
Timo Sirainen [Mon, 29 Feb 2016 08:31:37 +0000 (10:31 +0200)] 
doveadm-http: Fixed crash on unknown commands.

Also if command had already failed, don't override the existing method_err with 403.

9 years agodoveadm-mail-index: Use integer parameter type
Aki Tuomi [Mon, 29 Feb 2016 07:35:03 +0000 (09:35 +0200)] 
doveadm-mail-index: Use integer parameter type

9 years agolib-storage: When cached mime.parts is detected to be inconsistent, log it as hex...
Timo Sirainen [Sun, 28 Feb 2016 20:23:03 +0000 (22:23 +0200)] 
lib-storage: When cached mime.parts is detected to be inconsistent, log it as hex-encoded.

9 years agolib-storage: If cached mime.parts is corrupted, log it hex-encoded.
Timo Sirainen [Sun, 28 Feb 2016 20:22:06 +0000 (22:22 +0200)] 
lib-storage: If cached mime.parts is corrupted, log it hex-encoded.

9 years agolib-mail: message_search_msg() passes through message_parser_deinit_from_parts()...
Timo Sirainen [Sun, 28 Feb 2016 20:08:40 +0000 (22:08 +0200)] 
lib-mail: message_search_msg() passes through message_parser_deinit_from_parts()'s error string

9 years agoUse mail_set_cache_corrupted_reason() wherever possible.
Timo Sirainen [Sun, 28 Feb 2016 19:07:27 +0000 (21:07 +0200)] 
Use mail_set_cache_corrupted_reason() wherever possible.

9 years agolib-storage: mail_set_cache_corrupted*() now logs also the mailbox name that was...
Timo Sirainen [Sun, 28 Feb 2016 19:05:48 +0000 (21:05 +0200)] 
lib-storage: mail_set_cache_corrupted*() now logs also the mailbox name that was corrupted.

9 years agolib-mail: Minor code cleanup to message_parser_deinit() calls.
Timo Sirainen [Sun, 28 Feb 2016 19:03:47 +0000 (21:03 +0200)] 
lib-mail: Minor code cleanup to message_parser_deinit() calls.

9 years agolib-mail: Added message_parser_deinit_from_parts()
Timo Sirainen [Sun, 28 Feb 2016 18:46:57 +0000 (20:46 +0200)] 
lib-mail: Added message_parser_deinit_from_parts()

The returned error strings could still be improved to give more details,
especially give an approximate offset of where the problem is.

9 years agolib-storage: Added mail_set_cache_corrupted_reason()
Timo Sirainen [Sun, 28 Feb 2016 18:19:45 +0000 (20:19 +0200)] 
lib-storage: Added mail_set_cache_corrupted_reason()

9 years ago*-login: If verbose_ssl=yes, make sure all SSL errors are logged.
Timo Sirainen [Sun, 28 Feb 2016 17:57:10 +0000 (19:57 +0200)] 
*-login: If verbose_ssl=yes, make sure all SSL errors are logged.

They should already be logged in the client's disconnection line, but log
them also with debug level just to make sure no errors are lost or
overwritten.

9 years agolib-ssl-iostream: If verbose=TRUE, internally log all errors.
Timo Sirainen [Sun, 28 Feb 2016 17:55:53 +0000 (19:55 +0200)] 
lib-ssl-iostream: If verbose=TRUE, internally log all errors.

9 years agolib-ssl-iostream: Log all SSL info lines with debug-level.
Timo Sirainen [Sun, 28 Feb 2016 17:51:54 +0000 (19:51 +0200)] 
lib-ssl-iostream: Log all SSL info lines with debug-level.

They're not logged at all if verbose=FALSE, so they're really debug messages.

9 years agodoveadm-fs: Use ver2 structures
Aki Tuomi [Sat, 27 Feb 2016 09:36:29 +0000 (11:36 +0200)] 
doveadm-fs: Use ver2 structures

9 years agodoveadm-cmd: Support non-strings in compat wrapper
Aki Tuomi [Sat, 27 Feb 2016 09:13:24 +0000 (11:13 +0200)] 
doveadm-cmd: Support non-strings in compat wrapper

9 years agodoveadm-mail: Rename ctx to mctx to separate from cctx
Aki Tuomi [Sun, 28 Feb 2016 16:33:01 +0000 (18:33 +0200)] 
doveadm-mail: Rename ctx to mctx to separate from cctx

9 years agodoveadm: Changed v2 command APIs to be easier to use.
Aki Tuomi [Sun, 28 Feb 2016 16:27:35 +0000 (18:27 +0200)] 
doveadm: Changed v2 command APIs to be easier to use.

9 years agodoveadm: Minor code cleanup - use arg-> instead of argv[i].
Timo Sirainen [Sun, 28 Feb 2016 16:25:31 +0000 (18:25 +0200)] 
doveadm: Minor code cleanup - use arg-> instead of argv[i].

9 years agodoveadm: Code cleanup - Removed unnecessary pointer checks.
Timo Sirainen [Fri, 26 Feb 2016 15:33:02 +0000 (17:33 +0200)] 
doveadm: Code cleanup - Removed unnecessary pointer checks.

Originally for some reason added by e16cdc182.

9 years agodoveadm: Fixed command parameter handling for doveadm-server.
Timo Sirainen [Fri, 26 Feb 2016 14:21:38 +0000 (16:21 +0200)] 
doveadm: Fixed command parameter handling for doveadm-server.

9 years agodoveadm: Add more consts to avoid a cast breaking strict-aliasing rules.
Timo Sirainen [Fri, 26 Feb 2016 14:05:01 +0000 (16:05 +0200)] 
doveadm: Add more consts to avoid a cast breaking strict-aliasing rules.

9 years agodoveadm: Fixed parsing field/flag/file parameters.
Aki Tuomi [Fri, 26 Feb 2016 13:33:23 +0000 (15:33 +0200)] 
doveadm: Fixed parsing field/flag/file parameters.

9 years agodoveadm-log: Fixed trimming empty prefixes.
Timo Sirainen [Fri, 26 Feb 2016 13:25:27 +0000 (15:25 +0200)] 
doveadm-log: Fixed trimming empty prefixes.

Too eager (long) cast removal from the original code broke it. Changed to
a slightly simplified version now.

9 years agodoveadm: Pass through mail_storage_service_input fields in doveadm_cmd_attributes
Timo Sirainen [Fri, 26 Feb 2016 12:58:33 +0000 (14:58 +0200)] 
doveadm: Pass through mail_storage_service_input fields in doveadm_cmd_attributes

9 years agodoveadm: Added struct doveadm_cmd_attributes, which is passed around instead of argc...
Timo Sirainen [Fri, 26 Feb 2016 12:55:02 +0000 (14:55 +0200)] 
doveadm: Added struct doveadm_cmd_attributes, which is passed around instead of argc/argv

9 years agodoveadm-penalty: Convert to ver2 infra
Aki Tuomi [Wed, 24 Feb 2016 11:59:28 +0000 (13:59 +0200)] 
doveadm-penalty: Convert to ver2 infra

9 years agodoveadm-flags: Support giving flags as an array.
Aki Tuomi [Fri, 26 Feb 2016 12:38:46 +0000 (14:38 +0200)] 
doveadm-flags: Support giving flags as an array.

9 years agodoveadm-copymove: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:26:39 +0000 (09:26 +0200)] 
doveadm-copymove: Use ver2 structures

9 years agodoveadm: Code cleanup - coding style fixes for doveadm_cmd_param*() accessors
Aki Tuomi [Fri, 26 Feb 2016 07:37:06 +0000 (09:37 +0200)] 
doveadm: Code cleanup - coding style fixes for doveadm_cmd_param*() accessors

9 years agodoveadm-cmd: Add CMD_PARAM_IP
Aki Tuomi [Fri, 26 Feb 2016 07:33:25 +0000 (09:33 +0200)] 
doveadm-cmd: Add CMD_PARAM_IP

9 years agodoveadm-mailbox-status: Fixed declaring and processing args
Aki Tuomi [Thu, 25 Feb 2016 10:30:45 +0000 (12:30 +0200)] 
doveadm-mailbox-status: Fixed declaring and processing args

9 years agodoveadm: Fully populate mail_cmd in ver2 wrapper
Aki Tuomi [Thu, 25 Feb 2016 10:30:33 +0000 (12:30 +0200)] 
doveadm: Fully populate mail_cmd in ver2 wrapper

9 years agodoveadm-fts: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 08:34:34 +0000 (10:34 +0200)] 
doveadm-fts: Use ver2 structures

9 years agodoveadm-acl: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 08:17:16 +0000 (10:17 +0200)] 
doveadm-acl: Use ver2 structures

9 years agodoveadm-search: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:58:55 +0000 (09:58 +0200)] 
doveadm-search: Use ver2 structures

9 years agodoveadm-purge: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:54:01 +0000 (09:54 +0200)] 
doveadm-purge: Use ver2 structures

9 years agodoveadm-force-resync: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:53:37 +0000 (09:53 +0200)] 
doveadm-force-resync: Use ver2 structures

9 years agodoveadm-import: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:46:40 +0000 (09:46 +0200)] 
doveadm-import: Use ver2 structures

9 years agodoveadm-flags: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:44:04 +0000 (09:44 +0200)] 
doveadm-flags: Use ver2 structures

9 years agodoveadm-expunge: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:39:55 +0000 (09:39 +0200)] 
doveadm-expunge: Use ver2 structures

9 years agodoveadm-deduplicate: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:30:41 +0000 (09:30 +0200)] 
doveadm-deduplicate: Use ver2 structures

9 years agodoveadm-batch: Fixed it to work with ver2 commands.
Aki Tuomi [Thu, 25 Feb 2016 07:20:06 +0000 (09:20 +0200)] 
doveadm-batch: Fixed it to work with ver2 commands.

9 years agodoveadm-altmove: Use ver2 structures
Aki Tuomi [Thu, 25 Feb 2016 07:08:38 +0000 (09:08 +0200)] 
doveadm-altmove: Use ver2 structures

9 years agodoveadm: Remove return value from ver2 cmd() - doveadm_exit_code is enough
Aki Tuomi [Wed, 24 Feb 2016 09:19:11 +0000 (11:19 +0200)] 
doveadm: Remove return value from ver2 cmd() - doveadm_exit_code is enough

9 years agodoveadm-cmd: Constify doveadm_cmd_param_*() usage
Aki Tuomi [Wed, 24 Feb 2016 09:14:14 +0000 (11:14 +0200)] 
doveadm-cmd: Constify doveadm_cmd_param_*() usage

9 years agodoveadm-log: Use ver2 structure
Aki Tuomi [Tue, 23 Feb 2016 12:36:22 +0000 (14:36 +0200)] 
doveadm-log: Use ver2 structure

9 years agodoveadm-log: Use doveadm_print() for output
Aki Tuomi [Tue, 23 Feb 2016 12:14:16 +0000 (14:14 +0200)] 
doveadm-log: Use doveadm_print() for output

9 years agodoveadm-print: Add "formatted" print formatter
Aki Tuomi [Tue, 23 Feb 2016 12:13:37 +0000 (14:13 +0200)] 
doveadm-print: Add "formatted" print formatter

This allows using the header names as %{variables} in the format string.

9 years ago*-login: Call client.auth_result() also when proxying
Timo Sirainen [Wed, 24 Feb 2016 17:13:28 +0000 (19:13 +0200)] 
*-login: Call client.auth_result() also when proxying

9 years agolib-http: client: Decreased request/connect timeout for test-http-client to 10s.
Stephan Bosch [Thu, 25 Feb 2016 22:15:45 +0000 (00:15 +0200)] 
lib-http: client: Decreased request/connect timeout for test-http-client to 10s.

9 years agolib-http: client: Gave request, connect and dns timeouts defaults that make more...
Stephan Bosch [Thu, 25 Feb 2016 22:15:17 +0000 (00:15 +0200)] 
lib-http: client: Gave request, connect and dns timeouts defaults that make more sense.

9 years agolib-http: client: Fixed crash happening when connection hits an error while handling...
Stephan Bosch [Thu, 25 Feb 2016 21:46:11 +0000 (22:46 +0100)] 
lib-http: client: Fixed crash happening when connection hits an error while handling a new request.

At this point the connection dies within the peer request handler loop.
Before, the dying connection could free the peer when it ended up being
obsolete. But because it was still in the loop, a segfault occurred as the
loop continued. Fixed by deferring the the deallocation of the peer from
the connection_lost() function to the request handler loop itself if it is
active.

9 years agostats: Minor code cleaup - remove unnecessary includes and fix copyright year
Timo Sirainen [Wed, 24 Feb 2016 23:18:06 +0000 (01:18 +0200)] 
stats: Minor code cleaup - remove unnecessary includes and fix copyright year

9 years agolib: Added unit test to iostream-temp.
Timo Sirainen [Wed, 24 Feb 2016 14:39:59 +0000 (16:39 +0200)] 
lib: Added unit test to iostream-temp.

9 years agolib: iostream-temp makes the internal fd visible now to o_stream_get_fd()
Timo Sirainen [Wed, 24 Feb 2016 14:39:25 +0000 (16:39 +0200)] 
lib: iostream-temp makes the internal fd visible now to o_stream_get_fd()

Mainly for the following unit test.

9 years agolib-storage: Verify settings only after applying settings from userdb
Timo Sirainen [Wed, 24 Feb 2016 13:00:31 +0000 (15:00 +0200)] 
lib-storage: Verify settings only after applying settings from userdb

This is especially important to verify() functions that parse the settings
and store data permanently based on them, e.g. pop3_delete_flag or
imap_client_workarounds, which effectively couldn't be overwritten by userdb.

9 years agolib: Added iostream_temp_create_sized() to specify the max in-memory size
Timo Sirainen [Tue, 23 Feb 2016 21:41:28 +0000 (23:41 +0200)] 
lib: Added iostream_temp_create_sized() to specify the max in-memory size

9 years agologin-proxy: Use io_add_istream() for adding client_input io.
Timo Sirainen [Tue, 23 Feb 2016 16:41:35 +0000 (18:41 +0200)] 
login-proxy: Use io_add_istream() for adding client_input io.

This is required for non-fd istreams to work, e.g. ssl-iostream.

9 years agolib-http: Fix to earlier http_client_connection_unref() change 1dead6
Timo Sirainen [Mon, 22 Feb 2016 23:48:47 +0000 (01:48 +0200)] 
lib-http: Fix to earlier http_client_connection_unref() change 1dead6

Patch by Stephan Bosch

9 years agodoveadm: Code cleanup - remove duplicate code
Timo Sirainen [Mon, 22 Feb 2016 20:23:08 +0000 (22:23 +0200)] 
doveadm: Code cleanup - remove duplicate code

9 years agodoveadm: Fixed usage printing for ver2 commands
Timo Sirainen [Mon, 22 Feb 2016 20:10:42 +0000 (22:10 +0200)] 
doveadm: Fixed usage printing for ver2 commands

9 years agodoveadm: Define DOVEADM_CMD_MAIL_USAGE_PREFIX, which v2 commands use as their usage...
Timo Sirainen [Mon, 22 Feb 2016 20:02:03 +0000 (22:02 +0200)] 
doveadm: Define DOVEADM_CMD_MAIL_USAGE_PREFIX, which v2 commands use as their usage prefix.

This allows implementing the next changeset without kludging.

9 years agodoveadm: Added doveadm_cmd_get_ver2() helper
Aki Tuomi [Mon, 22 Feb 2016 19:44:40 +0000 (21:44 +0200)] 
doveadm: Added doveadm_cmd_get_ver2() helper

9 years agodoveadm-index: Use ver2 structures
Aki Tuomi [Mon, 22 Feb 2016 12:18:04 +0000 (14:18 +0200)] 
doveadm-index: Use ver2 structures

9 years agodoveadm-cmd: Add command flags
Aki Tuomi [Mon, 22 Feb 2016 11:30:12 +0000 (13:30 +0200)] 
doveadm-cmd: Add command flags

9 years agodoveadm: Free istream parameters everywhere
Timo Sirainen [Mon, 22 Feb 2016 19:39:06 +0000 (21:39 +0200)] 
doveadm: Free istream parameters everywhere

Based on patch by Aki Tuomi

9 years agoquota: Use doveadm ver2 structures
Aki Tuomi [Mon, 22 Feb 2016 12:03:41 +0000 (14:03 +0200)] 
quota: Use doveadm ver2 structures

9 years agodoveadm: Minor code cleanup - rename doveadm_cmd_find*() to doveadm_cmd_find_with_args*()
Timo Sirainen [Mon, 22 Feb 2016 19:28:24 +0000 (21:28 +0200)] 
doveadm: Minor code cleanup - rename doveadm_cmd_find*() to doveadm_cmd_find_with_args*()

9 years agodoveadm: Code cleanup - remove unnecessary NULL sets and checks
Timo Sirainen [Mon, 22 Feb 2016 19:24:06 +0000 (21:24 +0200)] 
doveadm: Code cleanup - remove unnecessary NULL sets and checks

9 years agolib-http: Always set *_obj=NULL first in deinit functions (mainly for consistency)
Timo Sirainen [Mon, 22 Feb 2016 19:17:26 +0000 (21:17 +0200)] 
lib-http: Always set *_obj=NULL first in deinit functions (mainly for consistency)

This doesn't usually matter, but in case deinit calls some callback they may
be trying to access the partially destroyed object.

9 years agolib-http: http_server_connection_unref() now always sets *conn=NULL
Timo Sirainen [Mon, 22 Feb 2016 19:15:37 +0000 (21:15 +0200)] 
lib-http: http_server_connection_unref() now always sets *conn=NULL

This makes its behavior consistent with other APIs in Dovecot.

9 years agolib-http: Clarify http_server_response_*_payload() API and minor change to it
Timo Sirainen [Mon, 22 Feb 2016 19:00:41 +0000 (21:00 +0200)] 
lib-http: Clarify http_server_response_*_payload() API and minor change to it

Similar to the change in c3a4c93. Nothing used this API yet.

9 years agolib-http: http_server_request_unref() now always sets *req=NULL
Timo Sirainen [Mon, 22 Feb 2016 18:58:03 +0000 (20:58 +0200)] 
lib-http: http_server_request_unref() now always sets *req=NULL

This makes its behavior consistent with other APIs in Dovecot.

9 years agolib-http: Clarify http_client_request_*_payload() API and minor change to it
Timo Sirainen [Mon, 22 Feb 2016 18:47:37 +0000 (20:47 +0200)] 
lib-http: Clarify http_client_request_*_payload() API and minor change to it

The earlier behavior was pretty confusing, and potentially could have caused
double-freeing memory in some situations. Now it's clear that req is set to NULL
always when the request is finished, regardless of whether it has any references left.

Changed http_client_request_finish_payload() to return 0 on success instead of 1.
This could have been left alone, but it's unlikely that there is any code outside
Dovecot core that calls it and this way is cleaner.

9 years agolib-http: http_client_request_unref() now always sets *req=NULL
Timo Sirainen [Mon, 22 Feb 2016 18:34:46 +0000 (20:34 +0200)] 
lib-http: http_client_request_unref() now always sets *req=NULL

This makes its behavior consistent with other APIs in Dovecot.

Also http_client_request_finish() no longer sets req=NULL, because all of
its callers already keep a reference. Instead added an assert to make sure
the reference is there.

9 years agolib-http: http_client_connection_unref() now always sets *conn=NULL
Timo Sirainen [Mon, 22 Feb 2016 18:14:57 +0000 (20:14 +0200)] 
lib-http: http_client_connection_unref() now always sets *conn=NULL

This makes its behavior consistent with other APIs in Dovecot.

9 years agodoveadm-http: Close client input correctly
Aki Tuomi [Mon, 22 Feb 2016 18:03:44 +0000 (20:03 +0200)] 
doveadm-http: Close client input correctly

9 years agodoveadm-http: Return HTTP failure on unexpected JSON input
Timo Sirainen [Mon, 22 Feb 2016 18:00:13 +0000 (20:00 +0200)] 
doveadm-http: Return HTTP failure on unexpected JSON input

9 years agodoveadm-http: Handle invalid input better for arrays.
Timo Sirainen [Mon, 22 Feb 2016 17:56:35 +0000 (19:56 +0200)] 
doveadm-http: Handle invalid input better for arrays.

9 years agodoveadm-http: Handle istreams correctly
Timo Sirainen [Sat, 20 Feb 2016 21:16:52 +0000 (23:16 +0200)] 
doveadm-http: Handle istreams correctly

Based on patch by Aki Tuomi

9 years agodoveadm-save: Use ver2 command structure
Aki Tuomi [Wed, 17 Feb 2016 08:24:24 +0000 (10:24 +0200)] 
doveadm-save: Use ver2 command structure

9 years agodoveadm: Added support for "file" parameters
Timo Sirainen [Mon, 22 Feb 2016 16:55:03 +0000 (18:55 +0200)] 
doveadm: Added support for "file" parameters

9 years agodoveadm: Fixed memory leak at deinit
Timo Sirainen [Mon, 22 Feb 2016 16:46:29 +0000 (18:46 +0200)] 
doveadm: Fixed memory leak at deinit

9 years agodoveadm: Fixed double-free when using -F parameter
Timo Sirainen [Mon, 22 Feb 2016 16:42:42 +0000 (18:42 +0200)] 
doveadm: Fixed double-free when using -F parameter

9 years agodoveadm: Fixed memory leaks when ver2 command parsing fails with invalid parameter.
Timo Sirainen [Mon, 22 Feb 2016 16:42:10 +0000 (18:42 +0200)] 
doveadm: Fixed memory leaks when ver2 command parsing fails with invalid parameter.