[dovecot/core] 955fd5: lib: Add function to see if lib is initialized
GitHub
noreply at github.com
Wed Nov 9 13:00:19 UTC 2016
Branch: refs/heads/master-2.2
Home: https://github.com/dovecot/core
Commit: 955fd57264bbaf602b4d8ab766d2d148a998c6dc
https://github.com/dovecot/core/commit/955fd57264bbaf602b4d8ab766d2d148a998c6dc
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/lib.c
M src/lib/lib.h
Log Message:
-----------
lib: Add function to see if lib is initialized
This is needed by test-lib to prevent double init/deinit.
Commit: ef43e82fe0d5129e173ddfdeb84de26c574f6287
https://github.com/dovecot/core/commit/ef43e82fe0d5129e173ddfdeb84de26c574f6287
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-test/test-common.c
Log Message:
-----------
lib-test: Do not init/deinit library twice
If lib is initialized, do not initialize
or deinitialize library. This is done to
allow using master_service in unit tests
which also wants to perform lib init
and deinit itself.
Commit: 1b2adc0b842cda8c0d4f5369ac7f760affb784db
https://github.com/dovecot/core/commit/1b2adc0b842cda8c0d4f5369ac7f760affb784db
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-fs/fs-randomfail.c
Log Message:
-----------
fs-randomfail: "write" probability was reversed.
0 meant 100% while 100 meant 0%
Commit: 284a79dc399ce086ff93e7423354420e2ee24bee
https://github.com/dovecot/core/commit/284a79dc399ce086ff93e7423354420e2ee24bee
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-storage/index/dbox-multi/mdbox-map.c
Log Message:
-----------
mdbox: Fix assert-crash caused by race condition with multiple doveadm purges.
This fixes a problem where an email that was just written to a new m.* file gets
expunged and purged by another process.
Fixes:
Panic: file mdbox-map.c: line 1359: unreached
Commit: 0a28037cd00e7fa5c38d33c328a6af5c3bf59e94
https://github.com/dovecot/core/commit/0a28037cd00e7fa5c38d33c328a6af5c3bf59e94
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/auth/auth-request.c
Log Message:
-----------
auth: If uidgid_file doesn't exist, fail the userdb lookup.
Commit: 99b7459d18f7aaf0165637b8ccc7619e8e6467bf
https://github.com/dovecot/core/commit/99b7459d18f7aaf0165637b8ccc7619e8e6467bf
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/auth/db-passwd-file.c
M src/auth/db-passwd-file.h
M src/auth/passdb-passwd-file.c
M src/auth/userdb-passwd-file.c
Log Message:
-----------
auth: If passwd-file can't be read, return tempfail (not user unknown).
Commit: 02cb95751e5e32491ce70623a24178b1660dbd01
https://github.com/dovecot/core/commit/02cb95751e5e32491ce70623a24178b1660dbd01
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/imap-login/imap-proxy.c
M src/login-common/client-common-auth.c
M src/login-common/client-common.h
M src/pop3-login/pop3-proxy.c
Log Message:
-----------
imap/pop3 proxy: If passdb returns proxy_not_trusted, don't send ID/XCLIENT
This allows using Dovecot proxying feature towards less trusted servers.
Commit: 00b033190d39d5bb1f6cc82fdd48f49662bab967
https://github.com/dovecot/core/commit/00b033190d39d5bb1f6cc82fdd48f49662bab967
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/str.c
M src/lib/str.h
Log Message:
-----------
lib: Make str_*() inline which are simple buffer_* wrappers.
Commit: 7b086b7bc53f02f0b6b474025db11ccc3aaed6ca
https://github.com/dovecot/core/commit/7b086b7bc53f02f0b6b474025db11ccc3aaed6ca
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/test-str.c
Log Message:
-----------
lib: Added more unit tests to str_*()
Commit: 86810bd455e32a6252f63953993825e83c06c3a1
https://github.com/dovecot/core/commit/86810bd455e32a6252f63953993825e83c06c3a1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/str.h
M src/lib/test-str.c
Log Message:
-----------
lib: Fix str_truncate() when string size is already smaller.
Previous behavior either added extra NULs to the string or assert-crashed.
Commit: 2b7c01f167d4f112ed21a5ccab6109adceefa1aa
https://github.com/dovecot/core/commit/2b7c01f167d4f112ed21a5ccab6109adceefa1aa
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/doveadm/doveadm-director.c
Log Message:
-----------
doveadm director: Fix memory leaks if hostname lookup fails.
Commit: b5169b98bb89eb7c9b1c00f30a43ec98cc56a7bc
https://github.com/dovecot/core/commit/b5169b98bb89eb7c9b1c00f30a43ec98cc56a7bc
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-storage/index/index-search.c
Log Message:
-----------
lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling.
It was being used the wrong way. SEARCH SENTON/BEFORE/AFTER should have
checked the times within the mail's timezone, not UTC.
Commit: aef7a714d729271b7b644c69abcedf2735825e28
https://github.com/dovecot/core/commit/aef7a714d729271b7b644c69abcedf2735825e28
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-storage/mail-storage.c
Log Message:
-----------
lib-storage: Don't enable modseqs on STATUS_HIGHESTMODSEQ.
This is requested always by IMAP's SELECT command even when the IMAP client
hasn't requested it. We don't want to unnecessarily enable modseqs that use up
memory and disk space when they're not really needed. Other callers may also be
interested in asking for HIGHESTMODSEQ (which is nowadays actually always
available) without enabling full modseq tracking.
Commit: fea1942d3723744e3f191e8f9262404b571ac5f8
https://github.com/dovecot/core/commit/fea1942d3723744e3f191e8f9262404b571ac5f8
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-index/mail-index-sync-ext.c
M src/lib-index/mail-index-sync-keywords.c
M src/lib-index/mail-index.h
Log Message:
-----------
lib-index: Don't waste 3 bytes of space in struct mail_index_record.
It was always supposed to be used mainly for keywords, but it got broken
many years ago and nobody noticed.
Commit: b707ace5150d6ccbb8cfa46fe16053e28205f54c
https://github.com/dovecot/core/commit/b707ace5150d6ccbb8cfa46fe16053e28205f54c
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: Made test-http-client-errors more reliable.
Commit: 17ec7e616644eb627e8eda290742daa8b722a97e
https://github.com/dovecot/core/commit/17ec7e616644eb627e8eda290742daa8b722a97e
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-host.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Improved handling of hosts with explicit IP address.
Commit: d9c3269c80b903e085e01c384060cf5d4c94d87c
https://github.com/dovecot/core/commit/d9c3269c80b903e085e01c384060cf5d4c94d87c
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Set conn->connect_request to NULL immediately in http_client_connection_tunnel_response().
Prevents referring to this completed request in other parts of the code.
Commit: 6324e0de0c4ff682695f6430d8927ae9b75fbd71
https://github.com/dovecot/core/commit/6324e0de0c4ff682695f6430d8927ae9b75fbd71
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-connection.c
Log Message:
-----------
lib-http: client: Created http_client_connection_failure() handler.
Commit: 2bde4edef34ef345fe5af50b7b50d6bb4c8bb5b7
https://github.com/dovecot/core/commit/2bde4edef34ef345fe5af50b7b50d6bb4c8bb5b7
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Added function that checks whether a connection is currently active.
Commit: 786336c9d455639c3316d4b70808edb54e401f0b
https://github.com/dovecot/core/commit/786336c9d455639c3316d4b70808edb54e401f0b
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-peer.c
M src/lib-http/http-client-private.h
Log Message:
-----------
lib-http: client: Added function that counts how many connections are active within a peer.
Commit: e008bd3700dc8ce82ddc56b1762ef22c77532b98
https://github.com/dovecot/core/commit/e008bd3700dc8ce82ddc56b1762ef22c77532b98
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-peer.c
Log Message:
-----------
lib-http: client: Added debug messages that indicate when a queue is linked/unlinked to a peer.
Commit: 7b4439d8af177f4fac9180f9c8ae51fd98da03d3
https://github.com/dovecot/core/commit/7b4439d8af177f4fac9180f9c8ae51fd98da03d3
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-peer.c
Log Message:
-----------
lib-http: client: If a peer object is no longer linked to a queue, don't close it until all connections are inactive.
The peer object is canceled, rather than closed. Which means that any newly started and idle connections are closed immediately.
Requests may be pending though.
This is only relevant when hosts/queues are removed at some point.
This is a preparational change for having a maximum lifetime on hosts/queues, in which case this becomes a possibility.
Commit: 9f5429bc6dfac74690d407e97cf2f71ded2f422c
https://github.com/dovecot/core/commit/9f5429bc6dfac74690d407e97cf2f71ded2f422c
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-peer.c
Log Message:
-----------
lib-http: client: Improved logging of connection loss handling in peer.
Commit: 0c43fc213abb050ca43f7c97bda391c4d3113664
https://github.com/dovecot/core/commit/0c43fc213abb050ca43f7c97bda391c4d3113664
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-peer.c
M src/lib-http/http-client-private.h
M src/lib-http/http-client-queue.c
Log Message:
-----------
lib-http: client: Unlink all queues from peer when it is disconnected.
Before, queues were only destroyed when the whole client was destroyed.
This change and subsequent changes prepare for being able to destroy a queue when it becomes unused.
Commit: 390a66a1de6431eb9a32577b6c8edbe44a167238
https://github.com/dovecot/core/commit/390a66a1de6431eb9a32577b6c8edbe44a167238
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-private.h
M src/lib-http/http-client.h
Log Message:
-----------
lib-http: client: Cleaned up headers and added some more documentation there.
Commit: 5a1f8f057fb1a276ee6a64da132ba37d77b58f4b
https://github.com/dovecot/core/commit/5a1f8f057fb1a276ee6a64da132ba37d77b58f4b
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-request.c
M src/lib-http/http-client.h
Log Message:
-----------
lib-http: client: Added pure attribute to some of the request property functions.
Commit: 09d628cf9ba8b96753d1dac7fab62d2878c955c1
https://github.com/dovecot/core/commit/09d628cf9ba8b96753d1dac7fab62d2878c955c1
Author: Stephan Bosch <stephan at rename-it.nl>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-request.c
M src/lib-http/http-client.h
Log Message:
-----------
lib-http: client: Added ability to configure a specific proxy for individual requests.
This way, a request can be routed to a specific proxy (or origin server). The destination can also be a unix socket.
Commit: 70b91e695462876a532966253e79039d4718b612
https://github.com/dovecot/core/commit/70b91e695462876a532966253e79039d4718b612
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-server-connection.c
M src/lib-http/http-server-private.h
M src/lib-http/http-server.c
M src/lib-http/http-server.h
Log Message:
-----------
lib-http: server: Implemented means to gracefully shut down the server.
While shutting down, it will not accept new requests and connections are closed once they become idle.
Commit: 3019190af88d3d036fd89cddcaa1b9c46e34bc65
https://github.com/dovecot/core/commit/3019190af88d3d036fd89cddcaa1b9c46e34bc65
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-client-peer.c
M src/lib-http/http-client-private.h
M src/lib-http/http-client-request.c
Log Message:
-----------
lib-http: client: Improved labeling of debug messages.
Request label is corrected.
Labels are now pre-composed and stored.
Commit: a2f8d56fa1c2d6237ecc0269539572139b297674
https://github.com/dovecot/core/commit/a2f8d56fa1c2d6237ecc0269539572139b297674
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/net.c
M src/lib/net.h
Log Message:
-----------
lib: Created net_set_tcp_nodelay(), which enables the TCP_NODELAY socket option.
This disables the TCP Nagle algorithm.
Commit: 3a939e6c0985a7351e889a6398eee49d42e691c5
https://github.com/dovecot/core/commit/3a939e6c0985a7351e889a6398eee49d42e691c5
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-connection.c
M src/lib-http/http-server-connection.c
Log Message:
-----------
lib-http: client/server: Enable the TCP_NODELAY option for all connections.
This disables the TCP Nagle algorithm. With the Nagle algorithm enabled, TCP waits a little to accumulate more data in a small segment before it is sent. For transfer of large continuous payloads, this is not useful and even harmful.
If the final remaining bit of the payload is small, the TCP layer will wait for a significant amount of time at the end of the payload. For many sequential transfers, this amounts to much waiting time.
This is particularly evident in the test-http-payload test suite tool. Setting TCP_NODELAY decreases its run time from up to 20 minutes to about half a minute my system.
Commit: 3db76db2380fe28a83fc2788de84ee0daa52aa22
https://github.com/dovecot/core/commit/3db76db2380fe28a83fc2788de84ee0daa52aa22
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-peer.c
Log Message:
-----------
lib-http: client: Created http_client_peer_drop() function that closes a peer object gracefully.
It checks whether any connections are still present.
It checks whether a backoff timer is still active.
This change and subsequent changes prepare for being able to destroy a queue when it becomes unused.
All peers linked to such a queue are unlinked and dropped when inactive and unlinked.
Commit: 6d7bf6d362f79f08a33f72d7e796bc85932d5525
https://github.com/dovecot/core/commit/6d7bf6d362f79f08a33f72d7e796bc85932d5525
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-private.h
M src/lib-http/http-client-queue.c
Log Message:
-----------
lib-http: client: Link peers to queue earlier: during connection attempts.
This makes sure that queues keep track of which peers are doing stuff on its behalf.
This is important to be able to manage the active peers when a new host name lookup was performed; if a peer is no longer listed in the returned IPs it should be dropped.
Commit: 6d39f7baff80710fc6128e245ab8d07a538477a3
https://github.com/dovecot/core/commit/6d39f7baff80710fc6128e245ab8d07a538477a3
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-queue.c
Log Message:
-----------
lib-http: client: Create queue->pending_peers array from the beginning.
This simplifies the code, since the pending peers array is always used.
Commit: d9fee0b80da4f292edb09e81485fe65dc4ee1fec
https://github.com/dovecot/core/commit/d9fee0b80da4f292edb09e81485fe65dc4ee1fec
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-private.h
M src/lib-http/http-client-queue.c
Log Message:
-----------
lib-http: client: Added http_client_queue_requests_active().
It counts how many active requests a queue has.
Commit: 2ac61a7033467e6966c59704699c7c6610222b45
https://github.com/dovecot/core/commit/2ac61a7033467e6966c59704699c7c6610222b45
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-host.c
M src/lib-http/http-client-private.h
M src/lib-http/http-client-queue.c
M src/lib-http/http-client.c
M src/lib-http/http-client.h
Log Message:
-----------
lib-http: client: Implemented host name lookup TTL.
Host name lookups will now be performed again when the results have expired.
Without access to TTL information from DNS lookups, all lookups will use the same default TTL for now.
Commit: e9b4a8854eb7387b9f54652da63056d5609b2054
https://github.com/dovecot/core/commit/e9b4a8854eb7387b9f54652da63056d5609b2054
Author: Stephan Bosch <stephan at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-host.c
M src/lib-http/http-client-private.h
M src/lib-http/http-client-queue.c
Log Message:
-----------
lib-http: client: Destroy host and associated queue objects after no more requests remain and an idle timeout expires.
Commit: c58821d5adffec80b8bf6ecff25483fdf0f90751
https://github.com/dovecot/core/commit/c58821d5adffec80b8bf6ecff25483fdf0f90751
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: Added DNS-related tests to test-http-client-errors.
Commit: 4d150ce542729a647fd306ce9c5bd8c32eba74f6
https://github.com/dovecot/core/commit/4d150ce542729a647fd306ce9c5bd8c32eba74f6
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: Fixed potential segfault problem in test-http-client-errors.
Found by Coverity.
Commit: 7421c8ededfff2791500f23ac76e07d451e500dd
https://github.com/dovecot/core/commit/7421c8ededfff2791500f23ac76e07d451e500dd
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: Added blocking client support to test-http-client-errors.
Commit: 78d15580ea05eef62b05a3a9e1f5be49b6288616
https://github.com/dovecot/core/commit/78d15580ea05eef62b05a3a9e1f5be49b6288616
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/http-client-request.c
Log Message:
-----------
lib-http: client: Fixed assert failure occurring when server returns error status early while client is still sending blocking payload.
Commit: b0614487f719d4f86f72238d0b4508acafe2dd41
https://github.com/dovecot/core/commit/b0614487f719d4f86f72238d0b4508acafe2dd41
Author: Stephan Bosch <stephan.bosch at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-http/test-http-client-errors.c
Log Message:
-----------
lib-http: test-http-client-errors: Add test for server that returns error status early while client is still sending blocking payload.
Commit: 765dd991c4816965fc7722e995083610f79e5eae
https://github.com/dovecot/core/commit/765dd991c4816965fc7722e995083610f79e5eae
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/ioloop-notify-kqueue.c
Log Message:
-----------
lib: ioloop-notify-kqueue wasn't storing source filename.
Commit: a5fd19666b9d997fa76e63936af0a0a1f6f35bd9
https://github.com/dovecot/core/commit/a5fd19666b9d997fa76e63936af0a0a1f6f35bd9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/plugins/fts/fts-api.c
Log Message:
-----------
fts: Fix error message when syncing FTS root mailbox fails.
Commit: 36447e7ead047ae6a6a2b6794b534bf5fd8f3914
https://github.com/dovecot/core/commit/36447e7ead047ae6a6a2b6794b534bf5fd8f3914
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/auth/passdb-static.c
Log Message:
-----------
auth: Make static analyzer happier.
Don't complain about uninitialized static_password being sent to
passdb_handle_credentials(). It could only happen for failures, and
passdb_handle_credentials() wouldn't have used the password then.
Commit: 56e33660d8ffde6da52baa8c10f4eb22c1170009
https://github.com/dovecot/core/commit/56e33660d8ffde6da52baa8c10f4eb22c1170009
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/buffer.c
M src/lib/buffer.h
Log Message:
-----------
lib: Add buffer truncate
Commit: 01557bc006d52f6ea72f8d10b6f3e3fc942559cb
https://github.com/dovecot/core/commit/01557bc006d52f6ea72f8d10b6f3e3fc942559cb
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/var-expand.c
Log Message:
-----------
lib: Do not consume {} inside %{}
Commit: 51fb86474b6882bdbcdf1dffd95d669c7cb64094
https://github.com/dovecot/core/commit/51fb86474b6882bdbcdf1dffd95d669c7cb64094
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/buffer.h
M src/lib/test-buffer.c
Log Message:
-----------
lib: Updated buffer_set_used_size() comment and added unit test.
Commit: 45aeec4300de8757674eeb77c4f8d9c1b6cc6622
https://github.com/dovecot/core/commit/45aeec4300de8757674eeb77c4f8d9c1b6cc6622
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/test-buffer.c
Log Message:
-----------
lib: Add unit test for buffer truncate
Commit: d845c5c6d4a4b736eff6f4c5e39e84a1f2db7eee
https://github.com/dovecot/core/commit/d845c5c6d4a4b736eff6f4c5e39e84a1f2db7eee
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/var-expand.c
Log Message:
-----------
lib: var_expand() code cleanup - Moved short %v expansion to its own function.
Commit: f7f66f6e5c5f102217399ef73f720aab92bdbf2f
https://github.com/dovecot/core/commit/f7f66f6e5c5f102217399ef73f720aab92bdbf2f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/var-expand.c
Log Message:
-----------
lib: Add generic hashing support to var-expand
Enables use of
%{H;rounds=<rounds>,truncate=<bits>,salt=<salt>:field}
syntax in any variable expansion. H is any supported
hash algorithm or pkcs5 for PKCS#5 PBKDF2 using SHA256.
Commit: cd5d16a11c72e248afdd73da9b97c10c62406333
https://github.com/dovecot/core/commit/cd5d16a11c72e248afdd73da9b97c10c62406333
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/test-var-expand.c
Log Message:
-----------
lib: Add tests for hashed var-expand
Commit: e086fc365852b3cf4e6dc1da0243d1a6cd7bd47a
https://github.com/dovecot/core/commit/e086fc365852b3cf4e6dc1da0243d1a6cd7bd47a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/auth/auth-policy.c
Log Message:
-----------
auth: Use buffer_truncate_rshift_bits
Commit: 48a6ada2f3ff44a90b1f3c24a0d2ba23987404f4
https://github.com/dovecot/core/commit/48a6ada2f3ff44a90b1f3c24a0d2ba23987404f4
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/array-decl.h
Log Message:
-----------
lib: Define ARRAY_TYPE for uint8_t, uint16_t and uint64_t.
Commit: 25609df5163e4d93f51e30b766248f15ec4a5d52
https://github.com/dovecot/core/commit/25609df5163e4d93f51e30b766248f15ec4a5d52
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-storage/index/index-search.c
Log Message:
-----------
lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling again.
It wasn't really wrong, it was just confusing. And doveadm's tz-handling
was wrong.
Reverses 059e4ac419224598349704b74cb9f6b49278df46
Commit: f33ead8f667fdc27d25c2b15458d35b74e4038e9
https://github.com/dovecot/core/commit/f33ead8f667fdc27d25c2b15458d35b74e4038e9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/doveadm/doveadm-dsync.c
M src/lib-storage/mail-search-register-human.c
M src/lib-storage/mail-storage.c
M src/lib-storage/mail-storage.h
Log Message:
-----------
lib-storage: Fix doveadm search query parsing to use timezones correctly.
When using a date string, e.g. "senton 25-Mar-2007" it should work the same
way as IMAP does and show all mails whose sent date is on 25th, ignoring
whatever the timezone is in the Date header (or in case of received/saved-date
it would be using the timestamps in server's local timezone, again just like
IMAP).
When search with an exact UNIX timestamp or a time interval (e.g.
"3 days"), it should be using UTC times for doing all comparisons.
Commit: b388982a5f93dbe9f86b75bbb83ee77ed025258f
https://github.com/dovecot/core/commit/b388982a5f93dbe9f86b75bbb83ee77ed025258f
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib-storage/mail-search.h
Log Message:
-----------
lib-storage: Updated MAIL_SEARCH_ARG_FLAG_USE_TZ comment.
Commit: d29f070a5431f6fcd75772151a10cb052295c79f
https://github.com/dovecot/core/commit/d29f070a5431f6fcd75772151a10cb052295c79f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/Makefile.am
A src/lib/sha-common.h
M src/lib/sha2.h
Log Message:
-----------
lib: Move sha context and result size to new header
This is to prepare for SHA3 inclusion
Commit: fb21560dbf4130ee523292321949c0aa16a580fd
https://github.com/dovecot/core/commit/fb21560dbf4130ee523292321949c0aa16a580fd
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/Makefile.am
M src/lib/hash-method.c
A src/lib/sha3.c
A src/lib/sha3.h
Log Message:
-----------
lib: Add SHA3 hashing methods for 256 and 512 bits
Commit: 6a7943d59f21484c19fed40894180e25f6c7adc5
https://github.com/dovecot/core/commit/6a7943d59f21484c19fed40894180e25f6c7adc5
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/lib/test-hash-method.c
Log Message:
-----------
lib: Add test vectors for message digests
Commit: 6588dc3122ce42f7cd87d591895ce2bfe820385f
https://github.com/dovecot/core/commit/6588dc3122ce42f7cd87d591895ce2bfe820385f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/mail-host.c
M src/director/mail-host.h
Log Message:
-----------
director: const mail_host in mail_host_get_tag
Commit: 7bf427ca4bf12f0f00fd4dc7237d261a1c524e5d
https://github.com/dovecot/core/commit/7bf427ca4bf12f0f00fd4dc7237d261a1c524e5d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/notify-connection.c
Log Message:
-----------
director: Code cleanup - moved code to notify_update_user()
Commit: a433b8b1f81354026de238ac8ee69c561423c302
https://github.com/dovecot/core/commit/a433b8b1f81354026de238ac8ee69c561423c302
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/director-connection.c
M src/director/director-request.c
M src/director/director.c
M src/director/doveadm-connection.c
Log Message:
-----------
director: Code cleanup - use temporary users variables
This will shrink the diff for the following changes.
Commit: dccfab90f6406b5a6a4fc6ad7377eab3352fa745
https://github.com/dovecot/core/commit/dccfab90f6406b5a6a4fc6ad7377eab3352fa745
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/director-connection.c
M src/director/director.c
M src/director/director.h
M src/director/doveadm-connection.c
Log Message:
-----------
director: Code cleanup - added user director_iterate_users_*() wrappers.
This will shrink the diff for the following changes.
Commit: e9a9d396a459c72aeacb1638667e3551596515b1
https://github.com/dovecot/core/commit/e9a9d396a459c72aeacb1638667e3551596515b1
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/director-request.c
M src/director/director.c
M src/director/director.h
M src/director/doveadm-connection.c
M src/director/notify-connection.c
M src/director/test-user-directory.c
M src/director/user-directory.c
M src/director/user-directory.h
Log Message:
-----------
director: Code cleanup - moved username_hash generation to director.h
It's not really user_directory specific. This is especially important
in the following patches that add per-tag user_directories. It's also not
always known which tag the username_hash refers to, so there can't be
different tag-specific username_hash generators.
Commit: 099649348e7b2fec736e857ed4271f3d1ad109a9
https://github.com/dovecot/core/commit/099649348e7b2fec736e857ed4271f3d1ad109a9
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/director-connection.c
M src/director/director-request.c
M src/director/mail-host.h
M src/director/notify-connection.c
M src/director/test-user-directory.c
M src/director/user-directory.c
Log Message:
-----------
director: Code cleanup - Reorder includes
This is required to enable typedef of
user_free_hook
Commit: 789e6eb9c7724a6075e762c800ca3a9c666a8a4c
https://github.com/dovecot/core/commit/789e6eb9c7724a6075e762c800ca3a9c666a8a4c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/user-directory.c
M src/director/user-directory.h
Log Message:
-----------
director: Code cleanup - typedef user_free_hook
This is done because user_free_hook needs to be
also used in mail_host. If it changes, this
reduces the places that need touching.
Commit: ea6c665dd97d234a35c58ad4e7cfb82ed7e7b46f
https://github.com/dovecot/core/commit/ea6c665dd97d234a35c58ad4e7cfb82ed7e7b46f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/director/director-connection.c
M src/director/director-request.c
M src/director/director.c
M src/director/director.h
M src/director/doveadm-connection.c
M src/director/mail-host.c
M src/director/mail-host.h
M src/director/main.c
M src/director/notify-connection.c
Log Message:
-----------
director: Keep per-tag directory
Commit: 7dc4e79d850b1ba4b5056f198921dd773fa77afb
https://github.com/dovecot/core/commit/7dc4e79d850b1ba4b5056f198921dd773fa77afb
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/imap/imap-state.c
Log Message:
-----------
imap: Free box on error
Otherwise the box wil leak as it is not assigned
anywhere and can cause crash on imap exit due
to stats plugin timeout leak.
Compare: https://github.com/dovecot/core/compare/42f5200012b8...7dc4e79d850b
More information about the dovecot-cvs
mailing list