[dovecot/core] b84eff: *-login: Add client_vfuncs.free() that is called w...

GitHub noreply at github.com
Fri Jun 16 15:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: b84eff65e25ae86dfd6f798386577209b94838c6
      https://github.com/dovecot/core/commit/b84eff65e25ae86dfd6f798386577209b94838c6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M src/imap-login/imap-login-client.c
    M src/imap-urlauth/imap-urlauth-login.c
    M src/login-common/client-common.c
    M src/login-common/client-common.h
    M src/pop3-login/client.c

  Log Message:
  -----------
  *-login: Add client_vfuncs.free() that is called when client refcount=0

This can be useful for plugins that want to run something after proxying
ends.

Use an empty default function so plugins can call super.free() without
having to check if it's NULL.


  Commit: 176fd2cdb19937915c728b93fb1a73c8ae91a720
      https://github.com/dovecot/core/commit/176fd2cdb19937915c728b93fb1a73c8ae91a720
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M src/lib/ostream-buffer.c

  Log Message:
  -----------
  lib: Fix ostream-buffer to return buffer contents size in o_stream_get_buffer_used_size().

This is necessary for querying o_stream_get_buffer_avail_size() with respect to a limit set earlier using o_stream_set_max_buffer_size().
This is mainly useful for test suites.


Compare: https://github.com/dovecot/core/compare/8ed26469c3b0...176fd2cdb199


More information about the dovecot-cvs mailing list