]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
14 years agoAdded tag 2.1.5 for changeset 469cee314d9c
Timo Sirainen [Mon, 23 Apr 2012 13:35:37 +0000 (16:35 +0300)] 
Added tag 2.1.5 for changeset 469cee314d9c

14 years agoReleased v2.1.5. 2.1.5
Timo Sirainen [Mon, 23 Apr 2012 13:35:37 +0000 (16:35 +0300)] 
Released v2.1.5.

14 years agoMake static analyzer happier.
Timo Sirainen [Mon, 23 Apr 2012 13:18:36 +0000 (16:18 +0300)] 
Make static analyzer happier.

14 years agolib-index: Added mail_index_have_modseq_tracking() needed for previous commit.
Timo Sirainen [Mon, 23 Apr 2012 11:50:30 +0000 (14:50 +0300)] 
lib-index: Added mail_index_have_modseq_tracking() needed for previous commit.

14 years agoimap: While modseq tracking hasn't been enabled, return mailbox as NOMODSEQ.
Timo Sirainen [Mon, 23 Apr 2012 11:47:13 +0000 (14:47 +0300)] 
imap: While modseq tracking hasn't been enabled, return mailbox as NOMODSEQ.
It would be possible to avoid this by always keeping track of highestmodseq,
but that requires changing the index format a bit.

14 years agolistescape: Don't unescape namespace prefix.
Timo Sirainen [Mon, 23 Apr 2012 11:11:37 +0000 (14:11 +0300)] 
listescape: Don't unescape namespace prefix.

14 years agoquota: Recalculation now also counts the namespace prefix mailbox's quota if it exists.
Timo Sirainen [Mon, 23 Apr 2012 10:19:44 +0000 (13:19 +0300)] 
quota: Recalculation now also counts the namespace prefix mailbox's quota if it exists.

14 years agoimapc: Don't list mailboxes that don't match list patterns.
Timo Sirainen [Mon, 23 Apr 2012 09:58:42 +0000 (12:58 +0300)] 
imapc: Don't list mailboxes that don't match list patterns.

14 years agoimapc: Nonexistent mailboxes were returned as selectable mailboxes.
Timo Sirainen [Mon, 23 Apr 2012 09:52:59 +0000 (12:52 +0300)] 
imapc: Nonexistent mailboxes were returned as selectable mailboxes.

14 years agoimapc: Added imapc_list_prefix setting to limit what mailboxes are accessed.
Timo Sirainen [Fri, 20 Apr 2012 19:27:01 +0000 (22:27 +0300)] 
imapc: Added imapc_list_prefix setting to limit what mailboxes are accessed.

14 years agodirector: Delay disconnecting director after sending CONNECT command.
Timo Sirainen [Fri, 20 Apr 2012 16:09:55 +0000 (19:09 +0300)] 
director: Delay disconnecting director after sending CONNECT command.
The director may not otherwise read the CONNECT.

14 years agodirector: Forward DIRECTOR commands to other connected directors.
Timo Sirainen [Fri, 20 Apr 2012 16:08:25 +0000 (19:08 +0300)] 
director: Forward DIRECTOR commands to other connected directors.
They can use it to realize that the director was restarted and its sequences
start from 1.

14 years agodirector: Try harder to connect to ring before thinking we're alone.
Timo Sirainen [Fri, 20 Apr 2012 16:05:38 +0000 (19:05 +0300)] 
director: Try harder to connect to ring before thinking we're alone.

14 years agodirector: Director ring needs to be set unsynced immediately even when sycning is...
Timo Sirainen [Fri, 20 Apr 2012 16:03:26 +0000 (19:03 +0300)] 
director: Director ring needs to be set unsynced immediately even when sycning is frozen.

14 years agolayout=fs: Fixed listing mailboxes with prefix=INBOX/
Timo Sirainen [Fri, 20 Apr 2012 12:26:43 +0000 (15:26 +0300)] 
layout=fs: Fixed listing mailboxes with prefix=INBOX/

14 years agolayout=fs: Don't assume '/' hierarchy separator when finding mailbox roots.
Timo Sirainen [Fri, 20 Apr 2012 12:18:14 +0000 (15:18 +0300)] 
layout=fs: Don't assume '/' hierarchy separator when finding mailbox roots.

14 years agodirector: When another director reconnects, reset its "last received seq".
Timo Sirainen [Fri, 20 Apr 2012 12:04:58 +0000 (15:04 +0300)] 
director: When another director reconnects, reset its "last received seq".
This fixes some problems where HOST updates and others were thought as
already being received after the originating director was restarted.

14 years agodirector: Removed special (time_t)-1 code, it's not actually needed.
Timo Sirainen [Fri, 20 Apr 2012 08:22:26 +0000 (11:22 +0300)] 
director: Removed special (time_t)-1 code, it's not actually needed.
Also this fixes a user refreshing issue.

14 years agodirector: Minor error message fix
Timo Sirainen [Fri, 20 Apr 2012 08:09:36 +0000 (11:09 +0300)] 
director: Minor error message fix

14 years agodirector: And crashfix for previous change..
Timo Sirainen [Thu, 19 Apr 2012 22:35:06 +0000 (01:35 +0300)] 
director: And crashfix for previous change..

14 years agodirector: Adding 25c941423e42 patch yet again, now it seems to work right.
Timo Sirainen [Thu, 19 Apr 2012 22:32:01 +0000 (01:32 +0300)] 
director: Adding 25c941423e42 patch yet again, now it seems to work right.
And also fixes detection of outgoing connections that die during handshake
sending.

14 years agodirector: USER sending timeout was higher than it needed to be.
Timo Sirainen [Thu, 19 Apr 2012 22:14:41 +0000 (01:14 +0300)] 
director: USER sending timeout was higher than it needed to be.
The problem was USER sending getting stuck, not the timeout itself..

14 years agodirector: Removed unnecessary error messages.
Timo Sirainen [Thu, 19 Apr 2012 21:59:01 +0000 (00:59 +0300)] 
director: Removed unnecessary error messages.

14 years agodirector: Another fix for stuck handshake.
Timo Sirainen [Thu, 19 Apr 2012 21:49:29 +0000 (00:49 +0300)] 
director: Another fix for stuck handshake.

14 years agodirector: Make sure handshaking doesn't get stuck sending USERs.
Timo Sirainen [Thu, 19 Apr 2012 21:42:10 +0000 (00:42 +0300)] 
director: Make sure handshaking doesn't get stuck sending USERs.

14 years agodirector: Fixed protocol error detection/handling.
Timo Sirainen [Thu, 19 Apr 2012 21:33:13 +0000 (00:33 +0300)] 
director: Fixed protocol error detection/handling.

14 years agodirector: Improved debug handshake message.
Timo Sirainen [Thu, 19 Apr 2012 21:32:34 +0000 (00:32 +0300)] 
director: Improved debug handshake message.

14 years agodirector: Increased timeout for sending USER data in handshake.
Timo Sirainen [Thu, 19 Apr 2012 21:13:55 +0000 (00:13 +0300)] 
director: Increased timeout for sending USER data in handshake.

14 years agodirector: Improved error message
Timo Sirainen [Thu, 19 Apr 2012 21:03:47 +0000 (00:03 +0300)] 
director: Improved error message

14 years agodirector: Reverted previous change, it didn't work properly.
Timo Sirainen [Thu, 19 Apr 2012 20:51:46 +0000 (23:51 +0300)] 
director: Reverted previous change, it didn't work properly.

14 years agodirector: Don't delay reading input from remote connection during handshake.
Timo Sirainen [Thu, 19 Apr 2012 20:45:31 +0000 (23:45 +0300)] 
director: Don't delay reading input from remote connection during handshake.

14 years agotimeout_reset(): Don't use cached ioloop_timeval.
Timo Sirainen [Thu, 19 Apr 2012 20:41:59 +0000 (23:41 +0300)] 
timeout_reset(): Don't use cached ioloop_timeval.
Timeouts are sometimes reset after a long running callback. In those cases a
cached timeval may be too far behind.

14 years agodirector: Decreased timeout for resending lost SYNC request.
Timo Sirainen [Thu, 19 Apr 2012 20:34:41 +0000 (23:34 +0300)] 
director: Decreased timeout for resending lost SYNC request.

14 years agoUse t_strsplit_tab() wherever possible
Timo Sirainen [Thu, 19 Apr 2012 20:06:55 +0000 (23:06 +0300)] 
Use t_strsplit_tab() wherever possible

14 years agoAdded t_strsplit_tab()
Timo Sirainen [Thu, 19 Apr 2012 20:00:16 +0000 (23:00 +0300)] 
Added t_strsplit_tab()

14 years agodirector: Never set user's timestamp higher than our ioloop_time.
Timo Sirainen [Thu, 19 Apr 2012 19:17:34 +0000 (22:17 +0300)] 
director: Never set user's timestamp higher than our ioloop_time.

14 years agodirector: Optimized adding users to linked list during handshake.
Timo Sirainen [Thu, 19 Apr 2012 18:51:48 +0000 (21:51 +0300)] 
director: Optimized adding users to linked list during handshake.

14 years agodirector: Increased timeouts.
Timo Sirainen [Thu, 19 Apr 2012 17:29:25 +0000 (20:29 +0300)] 
director: Increased timeouts.

14 years agoraw storage: Name autocreated namespace as "raw-storage".
Timo Sirainen [Thu, 19 Apr 2012 15:59:33 +0000 (18:59 +0300)] 
raw storage: Name autocreated namespace as "raw-storage".

14 years agoLMTP: Don't add Return-Path: header when proxying.
Timo Sirainen [Thu, 19 Apr 2012 15:22:39 +0000 (18:22 +0300)] 
LMTP: Don't add Return-Path: header when proxying.
The backend also adds it and we don't want duplicates.

14 years agodoveadm expunge: Added -d parameter to delete mailbox if it's empty after expunging.
Timo Sirainen [Thu, 19 Apr 2012 15:15:56 +0000 (18:15 +0300)] 
doveadm expunge: Added -d parameter to delete mailbox if it's empty after expunging.

14 years agolib-storage: Added mailbox_delete_empty().
Timo Sirainen [Thu, 19 Apr 2012 15:15:37 +0000 (18:15 +0300)] 
lib-storage: Added mailbox_delete_empty().

14 years agomaildir_very_dirty_syncs=yes: Try harder to avoid readdir()ing.
Timo Sirainen [Thu, 19 Apr 2012 11:39:26 +0000 (14:39 +0300)] 
maildir_very_dirty_syncs=yes: Try harder to avoid readdir()ing.

14 years agoauth: Changed auth-userdb socket's default user to $default_internal_user.
Timo Sirainen [Wed, 18 Apr 2012 17:09:30 +0000 (20:09 +0300)] 
auth: Changed auth-userdb socket's default user to $default_internal_user.
This makes the defaults more usable for director setups.

14 years agofts-solr: doveadm fts rescan now resets the last-indexed-uid fields to allow reindexing.
Timo Sirainen [Wed, 18 Apr 2012 16:56:29 +0000 (19:56 +0300)] 
fts-solr: doveadm fts rescan now resets the last-indexed-uid fields to allow reindexing.

14 years agotrash plugin fixes
Timo Sirainen [Wed, 18 Apr 2012 16:29:22 +0000 (19:29 +0300)] 
trash plugin fixes

14 years agoimapc: Use SHA1 of message header for guid-forced instead of the entire body.
Timo Sirainen [Wed, 18 Apr 2012 15:33:02 +0000 (18:33 +0300)] 
imapc: Use SHA1 of message header for guid-forced instead of the entire body.

14 years agoimapc: Added guid-forced feature to use SHA1(message) as GUID.
Timo Sirainen [Wed, 18 Apr 2012 15:09:14 +0000 (18:09 +0300)] 
imapc: Added guid-forced feature to use SHA1(message) as GUID.

14 years agologin: Log message change: Tried to use s/disabled/disallowed/ plaintext auth
Timo Sirainen [Tue, 17 Apr 2012 10:56:00 +0000 (13:56 +0300)] 
login: Log message change: Tried to use s/disabled/disallowed/ plaintext auth

14 years agologin: Fixed per-IP ssl_ca setting inside local/remote block.
Timo Sirainen [Mon, 16 Apr 2012 19:05:47 +0000 (22:05 +0300)] 
login: Fixed per-IP ssl_ca setting inside local/remote block.

14 years agologin: Another attempt at fixing SSL memory leak.
Timo Sirainen [Thu, 12 Apr 2012 07:48:55 +0000 (10:48 +0300)] 
login: Another attempt at fixing SSL memory leak.

14 years agologin: Reverted memory leak fix, because it broke some SSL setups?
Timo Sirainen [Thu, 12 Apr 2012 07:41:44 +0000 (10:41 +0300)] 
login: Reverted memory leak fix, because it broke some SSL setups?

14 years agoMemory leak fixes.
Timo Sirainen [Wed, 11 Apr 2012 16:06:44 +0000 (19:06 +0300)] 
Memory leak fixes.

14 years agolib-storage: LIST with mailbox {} settings incorrectly set subscribed-flags.
Timo Sirainen [Wed, 11 Apr 2012 15:23:34 +0000 (18:23 +0300)] 
lib-storage: LIST with mailbox {} settings incorrectly set subscribed-flags.

14 years agodict file: Fixed assert-crash with fcntl/flock lock method.
Timo Sirainen [Wed, 11 Apr 2012 14:21:01 +0000 (17:21 +0300)] 
dict file: Fixed assert-crash with fcntl/flock lock method.

14 years agombox: Make sure each mailbox creation generates a different UIDVALIDITY.
Timo Sirainen [Wed, 11 Apr 2012 12:02:53 +0000 (15:02 +0300)] 
mbox: Make sure each mailbox creation generates a different UIDVALIDITY.

14 years agombox: Deleting a mailbox didn't delete its index files.
Timo Sirainen [Wed, 11 Apr 2012 11:44:45 +0000 (14:44 +0300)] 
mbox: Deleting a mailbox didn't delete its index files.

14 years agolayout=fs: LIST may have shown mailbox as \HasNoChildren when it did.
Timo Sirainen [Wed, 11 Apr 2012 11:29:37 +0000 (14:29 +0300)] 
layout=fs: LIST may have shown mailbox as \HasNoChildren when it did.
This probably only happened with mbox.

14 years ago--enable-devel-checks: If DEBUG_SILENT environment is set, hide "Growing pool" warnings.
Timo Sirainen [Wed, 11 Apr 2012 09:35:19 +0000 (12:35 +0300)] 
--enable-devel-checks: If DEBUG_SILENT environment is set, hide "Growing pool" warnings.

14 years agodict file: Bugfix for previous lock change and changed its configuration syntax.
Timo Sirainen [Tue, 10 Apr 2012 15:05:36 +0000 (18:05 +0300)] 
dict file: Bugfix for previous lock change and changed its configuration syntax.

14 years agodict file: Optionally use fcntl/flock locking, instead of dotlocks.
Timo Sirainen [Tue, 10 Apr 2012 14:57:09 +0000 (17:57 +0300)] 
dict file: Optionally use fcntl/flock locking, instead of dotlocks.

14 years agolib-storage: mail_user_try_home_expand() now looks up home only when needed.
Timo Sirainen [Tue, 10 Apr 2012 07:09:39 +0000 (10:09 +0300)] 
lib-storage: mail_user_try_home_expand() now looks up home only when needed.
Before a recent code cleanup the lookup was always done, but if the home
didn't exist it still just happened to return success. The cleanup changed
it to return failure, which broke the original behavior.

14 years agopop3c: "TOP msgnum 0" was missing the 0 parameter.
Timo Sirainen [Tue, 10 Apr 2012 06:52:35 +0000 (09:52 +0300)] 
pop3c: "TOP msgnum 0" was missing the 0 parameter.

14 years agopop3c: Removed extra "R " prefix from POP3 server error messages.
Timo Sirainen [Tue, 10 Apr 2012 06:52:00 +0000 (09:52 +0300)] 
pop3c: Removed extra "R " prefix from POP3 server error messages.

14 years agoAdded signature for changeset 2c21c940e19d
Timo Sirainen [Mon, 9 Apr 2012 10:13:32 +0000 (13:13 +0300)] 
Added signature for changeset 2c21c940e19d

14 years agoAdded tag 2.1.4 for changeset 2c21c940e19d
Timo Sirainen [Mon, 9 Apr 2012 10:13:26 +0000 (13:13 +0300)] 
Added tag 2.1.4 for changeset 2c21c940e19d

14 years agoReleased v2.1.4. 2.1.4
Timo Sirainen [Mon, 9 Apr 2012 10:13:24 +0000 (13:13 +0300)] 
Released v2.1.4.

14 years agodirector: Fixed disconnecting unwanted connection.
Timo Sirainen [Mon, 9 Apr 2012 10:12:29 +0000 (13:12 +0300)] 
director: Fixed disconnecting unwanted connection.

14 years agolib-storage: If mailbox deletion crashed, undelete the mailbox when opening it.
Timo Sirainen [Mon, 9 Apr 2012 10:04:19 +0000 (13:04 +0300)] 
lib-storage: If mailbox deletion crashed, undelete the mailbox when opening it.
The deletion is assumed to be crashed if it was started over 5 minutes ago.

14 years agolib-index: Minor code cleanup.
Timo Sirainen [Tue, 3 Apr 2012 11:45:10 +0000 (14:45 +0300)] 
lib-index: Minor code cleanup.

14 years agolib-storage: Set mail_user.service earlier.
Timo Sirainen [Mon, 9 Apr 2012 08:53:46 +0000 (11:53 +0300)] 
lib-storage: Set mail_user.service earlier.

14 years agoimap: Don't allow FETCH items list to be empty.
Timo Sirainen [Mon, 9 Apr 2012 06:53:13 +0000 (09:53 +0300)] 
imap: Don't allow FETCH items list to be empty.

14 years agodirector: Don't communicate with directors that recently sent invalid input.
Timo Sirainen [Mon, 9 Apr 2012 05:17:52 +0000 (08:17 +0300)] 
director: Don't communicate with directors that recently sent invalid input.
Track network and protocol failures separately. If a director had sent
invalid protocol data within last 60 seconds, don't try to connect to it and
don't allow it to connect to us.

14 years agodirector: Don't try to send the new SYNC parameter to old director versions.
Timo Sirainen [Mon, 9 Apr 2012 04:52:25 +0000 (07:52 +0300)] 
director: Don't try to send the new SYNC parameter to old director versions.
This should allow adding new directors to an old director ring without
anything breaking. Once all directors have upgraded they start using the new
features.

14 years agolib-storage: Minor code cleanup.
Timo Sirainen [Wed, 4 Apr 2012 08:08:32 +0000 (11:08 +0300)] 
lib-storage: Minor code cleanup.

14 years agolayout=fs: Fixed iteration with mail_full_filesystem_access=yes
Timo Sirainen [Wed, 4 Apr 2012 08:07:05 +0000 (11:07 +0300)] 
layout=fs: Fixed iteration with mail_full_filesystem_access=yes

14 years agoMaildir++: Return nonexistent subscribed mailbox with nonexistent flag.
Timo Sirainen [Wed, 4 Apr 2012 07:07:41 +0000 (10:07 +0300)] 
Maildir++: Return nonexistent subscribed mailbox with nonexistent flag.
e.g. LIST (SUBSCRIBED) "" *

14 years agolib-storage: Human search builder now uses SEARCH_MAILBOX_GLOB only when wildcards...
Timo Sirainen [Wed, 4 Apr 2012 06:48:46 +0000 (09:48 +0300)] 
lib-storage: Human search builder now uses SEARCH_MAILBOX_GLOB only when wildcards are used.

14 years agodoveadm: When AND-search includes mailbox names, don't bother going through them...
Timo Sirainen [Wed, 4 Apr 2012 06:42:34 +0000 (09:42 +0300)] 
doveadm: When AND-search includes mailbox names, don't bother going through them by list iteration.

14 years agodovadm mail commands: When mailbox parameter has no wildcard, use SEARCH_MAILBOX.
Timo Sirainen [Wed, 4 Apr 2012 06:41:15 +0000 (09:41 +0300)] 
dovadm mail commands: When mailbox parameter has no wildcard, use SEARCH_MAILBOX.

14 years agodoveadm status: Don't include the fields parameter as a mailbox in search query.
Timo Sirainen [Wed, 4 Apr 2012 06:40:24 +0000 (09:40 +0300)] 
doveadm status: Don't include the fields parameter as a mailbox in search query.

14 years agopop3-migration: Error message improvement.
Timo Sirainen [Wed, 4 Apr 2012 06:12:29 +0000 (09:12 +0300)] 
pop3-migration: Error message improvement.

14 years agolib-storage: Require at least one namespace to be non-hidden
Timo Sirainen [Wed, 4 Apr 2012 04:46:09 +0000 (07:46 +0300)] 
lib-storage: Require at least one namespace to be non-hidden

14 years agodoveadm user: Added -m parameter to show some of the mail settings.
Timo Sirainen [Wed, 4 Apr 2012 04:26:37 +0000 (07:26 +0300)] 
doveadm user: Added -m parameter to show some of the mail settings.

14 years agoMakefile: Link libdovecot-storage.so with LINKED_STORAGE_LDADD.
Timo Sirainen [Wed, 4 Apr 2012 03:25:00 +0000 (06:25 +0300)] 
Makefile: Link libdovecot-storage.so with LINKED_STORAGE_LDADD.

14 years agoldap: Removed warning about changed user_* settings.
Timo Sirainen [Wed, 4 Apr 2012 03:16:18 +0000 (06:16 +0300)] 
ldap: Removed warning about changed user_* settings.
This warning can happen even with recommended settings when symlinking the
passdb's ldap config to userdb ldap config.

14 years agolib-storage: When doing a userdb lookup, use the user's service instead of "lib-storage".
Timo Sirainen [Wed, 4 Apr 2012 03:12:24 +0000 (06:12 +0300)] 
lib-storage: When doing a userdb lookup, use the user's service instead of "lib-storage".

14 years agoldap: Treat =key the same as =key=, just like v2.0.
Timo Sirainen [Wed, 4 Apr 2012 03:10:33 +0000 (06:10 +0300)] 
ldap: Treat =key the same as =key=, just like v2.0.

14 years agolib-lda: mail_deliver()'s dest_mail now prefetches message's GUID.
Timo Sirainen [Wed, 4 Apr 2012 02:34:51 +0000 (05:34 +0300)] 
lib-lda: mail_deliver()'s dest_mail now prefetches message's GUID.
This fixes copying an already expunged mail with maildir.

14 years agomaildir: Remember the mail's GUID/filename in memory once it's fetched once.
Timo Sirainen [Wed, 4 Apr 2012 02:34:11 +0000 (05:34 +0300)] 
maildir: Remember the mail's GUID/filename in memory once it's fetched once.
This allows retrieving it later even if the message gets expunged.

14 years agosdbox: If copying with link() fails with ENOENT, fallback to trying regular copying.
Timo Sirainen [Wed, 4 Apr 2012 02:15:49 +0000 (05:15 +0300)] 
sdbox: If copying with link() fails with ENOENT, fallback to trying regular copying.
This also fixes missing error reporting for that case.

14 years agolib-storage: Previous change incorrectly reverted setting parent shared namespace...
Timo Sirainen [Wed, 4 Apr 2012 01:33:41 +0000 (04:33 +0300)] 
lib-storage: Previous change incorrectly reverted setting parent shared namespace usable.

14 years agolib-storage: Fixed setting usable/unusable flags for shared namespaces.
Timo Sirainen [Wed, 4 Apr 2012 01:31:09 +0000 (04:31 +0300)] 
lib-storage: Fixed setting usable/unusable flags for shared namespaces.
If a namespace doesn't have a root that exists, mark it as unusable.
This avoids ACL plugin from autocreating that directory.

14 years agodoveadm mailbox delete: -s parameter wasn't working.
Timo Sirainen [Wed, 4 Apr 2012 00:47:52 +0000 (03:47 +0300)] 
doveadm mailbox delete: -s parameter wasn't working.

14 years agolib-index: Don't assert-crash with broken extension record intros in log.
Timo Sirainen [Wed, 4 Apr 2012 00:44:04 +0000 (03:44 +0300)] 
lib-index: Don't assert-crash with broken extension record intros in log.

14 years agodirector: Redesigned connection handling and error handling.
Timo Sirainen [Tue, 3 Apr 2012 02:58:29 +0000 (05:58 +0300)] 
director: Redesigned connection handling and error handling.
Director now accepts all connections from everywhere and syncs them until
the handshaking is finished. At that point it finally decides if this is
a connection that should be used as our left/right connection, or if it
should be disconnected. This should make connecting more reliable,
especially if one of the directors sends broken handshake or has other
trouble.

14 years agodirector: Handle all commands during handshake.
Timo Sirainen [Mon, 2 Apr 2012 21:50:12 +0000 (00:50 +0300)] 
director: Handle all commands during handshake.
Previously the sender might have sent these commands, but the receiver
wouldn't have handled them and instead just disconnected.

14 years agodirector: Improved error logging for handling invalid commands/parameters.
Timo Sirainen [Mon, 2 Apr 2012 21:23:02 +0000 (00:23 +0300)] 
director: Improved error logging for handling invalid commands/parameters.

14 years agodirector: List of director connections belongs to struct director.
Timo Sirainen [Mon, 2 Apr 2012 20:39:48 +0000 (23:39 +0300)] 
director: List of director connections belongs to struct director.

14 years agodirector: Changes to PING handling.
Timo Sirainen [Mon, 2 Apr 2012 20:28:22 +0000 (23:28 +0300)] 
director: Changes to PING handling.
Use larger ping timeouts. While waiting for sync keep doing rapid pings
until the sync is finished, not just once.