[dovecot/core] 2ba664: lib: Increase net_connect*() EADDRNOTAVAIL retries...

GitHub noreply at github.com
Thu Apr 6 21:42:38 EEST 2017


  Branch: refs/tags/2.2.29.rc1
  Home:   https://github.com/dovecot/core
  Commit: 2ba664518940f4cef7f7339719944f80d0a238ca
      https://github.com/dovecot/core/commit/2ba664518940f4cef7f7339719944f80d0a238ca
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

  Changed paths:
    M src/lib/net.c

  Log Message:
  -----------
  lib: Increase net_connect*() EADDRNOTAVAIL retries to 20

4 is too little, since on busy systems it's sometimes failing. These calls
should be pretty cheap, so lets try if 20 is enough.

It would be nice if this was configurable, but the only practical way right
now would be to use environment variable, which is a bit ugly. We could
try it next if 20 is still not enough.


  Commit: 3fb8215f2f214afb98e8ed10575841ef303aaa26
      https://github.com/dovecot/core/commit/3fb8215f2f214afb98e8ed10575841ef303aaa26
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/imap/cmd-fetch.c
    M src/imap/imap-commands-util.c
    M src/imap/imap-commands-util.h

  Log Message:
  -----------
  imap: Add imap_client_command_get_reason()

All the command -> reason string conversions now go through this function.


  Commit: 6abef1aaac8233e13ab28f062978f0b174df015a
      https://github.com/dovecot/core/commit/6abef1aaac8233e13ab28f062978f0b174df015a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-imap/imap-util.c
    M src/lib-imap/imap-util.h

  Log Message:
  -----------
  lib-imap: Add imap_write_args_for_human()


  Commit: f09a1b010ebdd81d38e790af0a64539667b970bb
      https://github.com/dovecot/core/commit/f09a1b010ebdd81d38e790af0a64539667b970bb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/imap/imap-client.c
    M src/imap/imap-client.h

  Log Message:
  -----------
  imap: Add client_command_context.human_args

Generated with imap_write_args_for_human()


  Commit: 15bc8827a4e7c21f9ecfcbe3b73110c53632e3e5
      https://github.com/dovecot/core/commit/15bc8827a4e7c21f9ecfcbe3b73110c53632e3e5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/imap/imap-commands-util.c

  Log Message:
  -----------
  imap: Set command reason strings using the new human_args

This way the reason string is already suitable for logging, since it's
guaranteed to be valid UTF-8 without control chars.


  Commit: 1ef2d8f69d22eb635e7cd7cc653e85bff6beedfb
      https://github.com/dovecot/core/commit/1ef2d8f69d22eb635e7cd7cc653e85bff6beedfb
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/auth/auth-settings.c

  Log Message:
  -----------
  auth: Update default policy string to include device id and protocol


  Commit: e1e6c1a9112cf5b1a80b569794e6f81b8d365dee
      https://github.com/dovecot/core/commit/e1e6c1a9112cf5b1a80b569794e6f81b8d365dee
  Author: Dmitry Yakunin <d.yakunin at rambler-co.ru>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-imap-client/imapc-connection.c

  Log Message:
  -----------
  imapc: Fix memory leak in disconnected state


  Commit: c08b1a3035c96bf28000f5a81c32ee1bbb44354a
      https://github.com/dovecot/core/commit/c08b1a3035c96bf28000f5a81c32ee1bbb44354a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-imap-client/imapc-client-private.h
    M src/lib-imap-client/imapc-client.c
    M src/lib-imap-client/imapc-client.h

  Log Message:
  -----------
  lib-imap-client: Add login_callback setter

This way it can be set before actually calling login
which might happen some time later.


  Commit: 1909058aca75527d2783ca58b7a8bc1ddb56b3cf
      https://github.com/dovecot/core/commit/1909058aca75527d2783ca58b7a8bc1ddb56b3cf
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/auth/passdb-imap.c
    M src/lib-imap-client/imapc-client.c
    M src/lib-imap-client/imapc-client.h
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  global: Fix imapc_client_login usage


  Commit: 7078280c38b515fd8d3313568f01e4444f225626
      https://github.com/dovecot/core/commit/7078280c38b515fd8d3313568f01e4444f225626
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-list.c
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  lib-storage: Do not clobber error with imapc


  Commit: 3edba8e32451c315e99b31191b6c6f79e836b7c4
      https://github.com/dovecot/core/commit/3edba8e32451c315e99b31191b6c6f79e836b7c4
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-list.c

  Log Message:
  -----------
  lib-storage: Return empty value in imapc_list_get_storage_name on auth error

Avoids clobbering authentication error.


  Commit: b62ce893d357a8d36e62a97a3d4cf4736d681b72
      https://github.com/dovecot/core/commit/b62ce893d357a8d36e62a97a3d4cf4736d681b72
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-imap-client/imapc-connection.c

  Log Message:
  -----------
  lib-imap-client: Do not reset ips when reconnecting

Avoids infinite loop


  Commit: 29fd16cf8782c560703442b718627651950eb7f9
      https://github.com/dovecot/core/commit/29fd16cf8782c560703442b718627651950eb7f9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/auth/passdb-imap.c
    M src/lib-imap-client/imapc-client.h
    M src/lib-imap-client/imapc-connection.c
    M src/lib-storage/index/imapc/imapc-mail-fetch.c

  Log Message:
  -----------
  imapc: Use IMAPC_COMMAND_STATE_AUTH_FAILED to indicate auth failure


  Commit: e5e1d9d9c50cf5fb1ce66ad3b6cbc73530e00648
      https://github.com/dovecot/core/commit/e5e1d9d9c50cf5fb1ce66ad3b6cbc73530e00648
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-list.c

  Log Message:
  -----------
  lib-storage: Set internal error in imapc_list_get_hierarchy_sep


  Commit: 8fe07ec17301cadabd64cad79d1e9883956362a5
      https://github.com/dovecot/core/commit/8fe07ec17301cadabd64cad79d1e9883956362a5
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/imap-login/imap-login-client.c

  Log Message:
  -----------
  imap-login: Retain client ID only when enabled


  Commit: 7a5061c227892e43f8a97da5105452bae6d16759
      https://github.com/dovecot/core/commit/7a5061c227892e43f8a97da5105452bae6d16759
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M src/lib-storage/index/imapc/imapc-settings.c
    M src/lib-storage/index/imapc/imapc-settings.h
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  imapc: Remove "_sec" suffix from imapc_connection_retry_interval_secs

Its type is SET_TIME, so the value doesn't have to be in seconds.


  Commit: c5dff2e95df6d07b000826cc7c7985e68ea315a5
      https://github.com/dovecot/core/commit/c5dff2e95df6d07b000826cc7c7985e68ea315a5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.29.rc1.


Compare: https://github.com/dovecot/core/compare/2ba664518940^...c5dff2e95df6


More information about the dovecot-cvs mailing list