[dovecot/core] bf5c1a: lib-stats: Allow unregistering + re-registering st...

GitHub noreply at github.com
Tue May 24 13:00:17 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: bf5c1acf579d10d9281af96e2f9efd21e7d45e9e
      https://github.com/dovecot/core/commit/bf5c1acf579d10d9281af96e2f9efd21e7d45e9e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M src/lib-stats/stats.c

  Log Message:
  -----------
  lib-stats: Allow unregistering + re-registering stats.

Fixes:
Panic: stats_register() called after stats_alloc_size() was already called - this will break existing allocations

This could have happened with doveadm HTTP API when using multiple commands
in same HTTP connection.




More information about the dovecot-cvs mailing list