[dovecot/core] 03d748: master: Set listener fd to -1 after closing it

GitHub noreply at github.com
Tue Jun 19 01:00:07 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 03d748a8511f13b71f1d72d01bb7502dfc056511
      https://github.com/dovecot/core/commit/03d748a8511f13b71f1d72d01bb7502dfc056511
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-18 (Mon, 18 Jun 2018)

  Changed paths:
    M src/master/service-listen.c

  Log Message:
  -----------
  master: Set listener fd to -1 after closing it

The listener fds weren't used for anything afterwards, so it wasn't a
problem so far. The next commit requires it though.


  Commit: ac62ba47bbfec243315bd6138c2a7e5452484c16
      https://github.com/dovecot/core/commit/ac62ba47bbfec243315bd6138c2a7e5452484c16
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-18 (Mon, 18 Jun 2018)

  Changed paths:
    M src/master/service.c

  Log Message:
  -----------
  master: Close all listener fds at deinit.

Just makes the deinit cleaner.


  Commit: 92a86b4829ab2ae807b8cb29c772d7615d6f7f8f
      https://github.com/dovecot/core/commit/92a86b4829ab2ae807b8cb29c772d7615d6f7f8f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-18 (Mon, 18 Jun 2018)

  Changed paths:
    M src/master/service-listen.c
    M src/master/service-monitor.c
    M src/master/service.c

  Log Message:
  -----------
  master: Don't recreate master UNIX listener socket on reload

This way it works similar to all other listeners and it's not even
temporarily unavailable.


Compare: https://github.com/dovecot/core/compare/a8e5e5a65ace...92a86b4829ab
      **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