dovecot-1.2-managesieve: managesieve-login: SSL connections didn...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu May 8 20:28:59 UTC 2014


details:   http://hg.rename-it.nl/dovecot-1.2-managesieve/rev/711dbdabb434
changeset: 225:711dbdabb434
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu May 08 22:28:51 2014 +0200
description:
managesieve-login: SSL connections didn't get closed when the client got destroyed.

diffstat:

 src/managesieve-login/client.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 78d4860e22ce -r 711dbdabb434 src/managesieve-login/client.c
--- a/src/managesieve-login/client.c	Thu May 19 23:42:37 2011 +0200
+++ b/src/managesieve-login/client.c	Thu May 08 22:28:51 2014 +0200
@@ -511,6 +511,8 @@
 
 	client_unlink(&client->common);
 
+	if (!client->login_success && client->common.proxy != NULL)
+		ssl_proxy_destroy(client->common.proxy);
 	if (client->common.input != NULL)
 		i_stream_close(client->common.input);
 	if (client->output != NULL)


More information about the dovecot-cvs mailing list