[dovecot/core] 20939b: doveadm-server: http: Fixed lingering connections ...

GitHub noreply at github.com
Tue Oct 17 11:00:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 20939b554cc042df3bac67b88356c04e7a4803ab
      https://github.com/dovecot/core/commit/20939b554cc042df3bac67b88356c04e7a4803ab
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-10-17 (Tue, 17 Oct 2017)

  Changed paths:
    M src/doveadm/client-connection-http.c

  Log Message:
  -----------
  doveadm-server: http: Fixed lingering connections after the request is sent.

Turns out conn->http_client is already NULL while doveadm_http_server_connection_destroy() is called.
This is because http_server_connection_unref() sets it to NULL;
Fixed by removing useless HTTP connection reference.




More information about the dovecot-cvs mailing list