[dovecot/core] 311cf3: director: Add director_output_buffer_size setting

GitHub noreply at github.com
Wed Nov 1 18:00:11 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 311cf367b949f360c9a90822f06f39df31ec69e3
      https://github.com/dovecot/core/commit/311cf367b949f360c9a90822f06f39df31ec69e3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/director/director-connection.c
    M src/director/director-settings.c
    M src/director/director-settings.h

  Log Message:
  -----------
  director: Add director_output_buffer_size setting

This allows configuring the max buffer size for outgoing connections.
Previously it was hardcoded to 10 MB, which wasn't necessarily enough for
very busy directors.


  Commit: 1511fc56b80709183cfa1201bfddd09d8a804c99
      https://github.com/dovecot/core/commit/1511fc56b80709183cfa1201bfddd09d8a804c99
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Close director connection immediately when output buffer is full

Only the ostream was closed, which didn't actually cause the disconnection
until the other side closed the connection.


  Commit: 20b6e495f623955c680db65447e3f6a8b4c6222f
      https://github.com/dovecot/core/commit/20b6e495f623955c680db65447e3f6a8b4c6222f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/doveadm/doveadm-director.c

  Log Message:
  -----------
  doveadm director: Parse timestamp parameters with str_to_time()


  Commit: a1febfe04b4fa4445e4f7fad371ef2b992449825
      https://github.com/dovecot/core/commit/a1febfe04b4fa4445e4f7fad371ef2b992449825
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Fix updating director connection's last_output timestamp

It was previously updated only in ostream's flush callback, which was called
only when there were a lot of output. This only caused the "last output"
timestamp in disconnection log lines to be wrong.


  Commit: 56139ffc94e481ca1940ffd8d8f7166879150665
      https://github.com/dovecot/core/commit/56139ffc94e481ca1940ffd8d8f7166879150665
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

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

  Log Message:
  -----------
  director: Add director_connection_get_status()

Can be used to access connection-specific status information.


  Commit: f1551f4a50a471f0adecd92dd1f94702beeed72d
      https://github.com/dovecot/core/commit/f1551f4a50a471f0adecd92dd1f94702beeed72d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

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

  Log Message:
  -----------
  director: Track connections' last ping time


  Commit: 3dc72a40e457658caa3c033fb6b3418d16e9fd21
      https://github.com/dovecot/core/commit/3dc72a40e457658caa3c033fb6b3418d16e9fd21
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

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

  Log Message:
  -----------
  director: Track show long the last ring sync took.


  Commit: cb3f509b91af4e9cb65ce7acbbba8a335494d6d6
      https://github.com/dovecot/core/commit/cb3f509b91af4e9cb65ce7acbbba8a335494d6d6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/director/doveadm-connection.c
    M src/doveadm/doveadm-director.c

  Log Message:
  -----------
  doveadm director ring status: Add more fields related to connection status


  Commit: 2a550de68e9ffe97f0d8d2b3aaba7863df5aed4f
      https://github.com/dovecot/core/commit/2a550de68e9ffe97f0d8d2b3aaba7863df5aed4f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

  Changed paths:
    M src/director/doveadm-connection.c

  Log Message:
  -----------
  director: Show each director connection in doveadm DIRECTOR-LIST

Previously the host was shown only once, regardless of how many connections
it had. This especially helps when there are just two directors, but also
can be useful when showing incoming/outgoing connections that are still
in handshaking phase.


Compare: https://github.com/dovecot/core/compare/4584a0027694...2a550de68e9f


More information about the dovecot-cvs mailing list