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

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


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: e2d1cffbdfa086c4f06a37ecd247d01b7928b2cd
      https://github.com/dovecot/core/commit/e2d1cffbdfa086c4f06a37ecd247d01b7928b2cd
  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: 0bfc9b7585f0867bac09b5425ff2629c58f9bbc5
      https://github.com/dovecot/core/commit/0bfc9b7585f0867bac09b5425ff2629c58f9bbc5
  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: c2db9c89d15691c472d1f3ba8f6edb620bde1721
      https://github.com/dovecot/core/commit/c2db9c89d15691c472d1f3ba8f6edb620bde1721
  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: d3b8b1e1593412ba806471cedf606524d1c32b6e
      https://github.com/dovecot/core/commit/d3b8b1e1593412ba806471cedf606524d1c32b6e
  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: a9d14bb8ea285b0aa73bec3faeece5117cc1b59f
      https://github.com/dovecot/core/commit/a9d14bb8ea285b0aa73bec3faeece5117cc1b59f
  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

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

Commands' input handling already corks ostream in connection.c.


  Commit: 691f4f5c3b86c82996ee93bde1a3281ae04beafe
      https://github.com/dovecot/core/commit/691f4f5c3b86c82996ee93bde1a3281ae04beafe
  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: 4330fa04ae73ddaff6182d624ca7249cbd9767be
      https://github.com/dovecot/core/commit/4330fa04ae73ddaff6182d624ca7249cbd9767be
  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: a48c485c2312ca58f24c73c6e7bb975f1072b8a5
      https://github.com/dovecot/core/commit/a48c485c2312ca58f24c73c6e7bb975f1072b8a5
  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: ae4d74667c64031ce02dbc8eac1e298610deda52
      https://github.com/dovecot/core/commit/ae4d74667c64031ce02dbc8eac1e298610deda52
  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: 0c923387722fe47bc0f924d5f2fb6bf359e40251
      https://github.com/dovecot/core/commit/0c923387722fe47bc0f924d5f2fb6bf359e40251
  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: df2a53f64ad4af75741368f717d21e6543528250
      https://github.com/dovecot/core/commit/df2a53f64ad4af75741368f717d21e6543528250
  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/9627b1a2899f...df2a53f64ad4


More information about the dovecot-cvs mailing list