[dovecot/core] 216f16: lib-master: ipc-client: Don't call callback twice ...

GitHub noreply at github.com
Mon Jul 9 17:30:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 216f1645db08601fc98ac45acc71c75cba35d6f1
      https://github.com/dovecot/core/commit/216f1645db08601fc98ac45acc71c75cba35d6f1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Don't call callback twice if IPC proxy sends invalid input

ipc_client_disconnect() called it once, and the second time was done with
the cmds[0] that was already removed from the array.


  Commit: 435f0545b200767c25a5daee17cd6b4998d03710
      https://github.com/dovecot/core/commit/435f0545b200767c25a5daee17cd6b4998d03710
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Use linked list of commads instead of array

Needed for the following commit that returns the command pointer.


  Commit: a5818b26fe5aa3b6aaf571dfd83680d1c8c76c5b
      https://github.com/dovecot/core/commit/a5818b26fe5aa3b6aaf571dfd83680d1c8c76c5b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Split code to ipc_client_abort_commands()


  Commit: 280a8d211547202b69965e28519131d098a3f36a
      https://github.com/dovecot/core/commit/280a8d211547202b69965e28519131d098a3f36a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Never call callback directly from ipc_client_cmd()

This may simplify the calling code, especially after the following commit
that returns the command pointer.


  Commit: 4d6e08ac72a89e37dba3ff4257f0bc65257c66b3
      https://github.com/dovecot/core/commit/4d6e08ac72a89e37dba3ff4257f0bc65257c66b3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/lib-master/ipc-client.c

  Log Message:
  -----------
  lib-master: ipc-client: Cleanup - avoid extra return in the function

Simplifies the following commit.


  Commit: 57b99a54494aa5c46dd4a63844248ae5c3388db6
      https://github.com/dovecot/core/commit/57b99a54494aa5c46dd4a63844248ae5c3388db6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

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

  Log Message:
  -----------
  lib-master: ipc-client: Support aborting commands


  Commit: de5ffdb3e6fa875642934aa1776fcf2d7ae3fafa
      https://github.com/dovecot/core/commit/de5ffdb3e6fa875642934aa1776fcf2d7ae3fafa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/director/director.c
    M src/director/director.h

  Log Message:
  -----------
  director: Fix crash when user kill times out before IPC finishes

Abort the IPC kick command when freeing kill context so the IPC callback
won't be called.


  Commit: 4e637e1a81236c7eaa2fea6c72e86ccf96063184
      https://github.com/dovecot/core/commit/4e637e1a81236c7eaa2fea6c72e86ccf96063184
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Allow fully freeing user while waiting for IPC kick to finish

director_user_move_free() will now just free the IPC command, so this isn't
a problem anymore.


  Commit: 9a58361b08e1858e3bc7ea93934b7613261da476
      https://github.com/dovecot/core/commit/9a58361b08e1858e3bc7ea93934b7613261da476
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M m4/quota.m4

  Log Message:
  -----------
  m4: Enable rquota only if rpc/rpc.h exists

It's been removed in glibc 2.26


  Commit: 5803ae4bbd420def0072e1660ea7061c0e5dbcb9
      https://github.com/dovecot/core/commit/5803ae4bbd420def0072e1660ea7061c0e5dbcb9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M m4/quota.m4
    M src/plugins/quota/Makefile.am

  Log Message:
  -----------
  m4, quota: Support rquota using libtirpc


Compare: https://github.com/dovecot/core/compare/cbb091ceabb6...5803ae4bbd42
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list