[dovecot/core] fc494f: dict-client: Code cleanup - handle tab-unescaping ...

GitHub noreply at github.com
Mon Nov 21 21:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: fc494f157828dee9bb9885dd3630e9b7b45cdb25
      https://github.com/dovecot/core/commit/fc494f157828dee9bb9885dd3630e9b7b45cdb25
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-client.h

  Log Message:
  -----------
  dict-client: Code cleanup - handle tab-unescaping before callbacks.


  Commit: 8e1491e4924e3f9fc474a99438b6297b8d1ce1f3
      https://github.com/dovecot/core/commit/8e1491e4924e3f9fc474a99438b6297b8d1ce1f3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/dict/dict-commands.c
    M src/dict/dict-connection.c
    M src/dict/dict-connection.h
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-client.h

  Log Message:
  -----------
  dict-client: Add time spent in dict-server to "slow dict lookup" messages.

This way you can see if the slowness was due to some communication problem
between dict-client/server or internally in dict server.

This change keeps backwards compatibility in the dict protocol for both
client and server.


  Commit: 2525acc19ab4c8ce64c063a5be8e6b8d198a9fbe
      https://github.com/dovecot/core/commit/2525acc19ab4c8ce64c063a5be8e6b8d198a9fbe
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Add warn_slow_msecs setting

This allows configuring the default 5 seconds "slow dict lookup" warning.


  Commit: d485968ffb1b2456452d79eeda33abeb1bdd5733
      https://github.com/dovecot/core/commit/d485968ffb1b2456452d79eeda33abeb1bdd5733
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-dict/dict-client.c

  Log Message:
  -----------
  dict-client: Include reconnection-status in slow dict lookup messages.


  Commit: af298f9a4cc206f5d6c153504de6caa4807231ba
      https://github.com/dovecot/core/commit/af298f9a4cc206f5d6c153504de6caa4807231ba
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/dict/dict-commands.c

  Log Message:
  -----------
  dict: Moved iterate's corking to more correct location.

Commands' input handling already corks ostream in connection.c.
ostream's flush callback corks the ostream automatically.
So the only place left for corking is in dict iterate callback.


  Commit: 1fb0136a1eef1990e24268e0916a998b36149e14
      https://github.com/dovecot/core/commit/1fb0136a1eef1990e24268e0916a998b36149e14
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/dict/dict-commands.c

  Log Message:
  -----------
  dict: Make sure iterate doesn't add to ostream when it's already full.


  Commit: 44c54229a117b8dab05eaff9c54ba61fbae9a39f
      https://github.com/dovecot/core/commit/44c54229a117b8dab05eaff9c54ba61fbae9a39f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/dict/dict-commands.c
    M src/dict/dict-connection.h
    M src/lib-dict/dict-client.c
    M src/lib-dict/dict-client.h

  Log Message:
  -----------
  dict-client: Server can now send command replies in any order.

This way one slow lookup doesn't block all the other ones.

This change keeps backwards compatibility in the dict protocol for both
client and server.


  Commit: 9e0b187933b52db68c1aefb913970eeba47b986e
      https://github.com/dovecot/core/commit/9e0b187933b52db68c1aefb913970eeba47b986e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-index/mail-index.c
    M src/lib-index/mail-transaction-log-view.c

  Log Message:
  -----------
  lib-index: Do not crash if log is missing

Fixes sigfault when index and index.log files are
corrupted.


  Commit: 12f0c4396d2d9c02b7d5e070aaf64fed5853e9bf
      https://github.com/dovecot/core/commit/12f0c4396d2d9c02b7d5e070aaf64fed5853e9bf
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-index/mail-index-map-read.c
    M src/lib-index/mail-index-private.h

  Log Message:
  -----------
  lib-index: Limit mmap syscall errors in index to 1/s


  Commit: e9594e86dc601b72c1636f2b901dcfbf4ffaf47f
      https://github.com/dovecot/core/commit/e9594e86dc601b72c1636f2b901dcfbf4ffaf47f
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-index/mail-cache-private.h
    M src/lib-index/mail-cache.c

  Log Message:
  -----------
  lib-index: Limit mmap errors in index cache to 1/s


  Commit: 52d2b356e3ddb4e59ee09c10d47add9d3280284b
      https://github.com/dovecot/core/commit/52d2b356e3ddb4e59ee09c10d47add9d3280284b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lib-index/mail-transaction-log-file.c
    M src/lib-index/mail-transaction-log-private.h

  Log Message:
  -----------
  lib-index: Limit mmap errors in txn log file to 1/s


Compare: https://github.com/dovecot/core/compare/95e4021e3e2a...52d2b356e3dd


More information about the dovecot-cvs mailing list