dovecot-2.2: lib-http: Fixed assert-crash when http_client_conne...

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 29 11:58:07 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/475ff24ac365
changeset: 17846:475ff24ac365
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 29 14:57:42 2014 +0300
description:
lib-http: Fixed assert-crash when http_client_connection_disconnect() is called multiple times.

diffstat:

 src/lib-http/http-client-connection.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r d2e1b3f6d13b -r 475ff24ac365 src/lib-http/http-client-connection.c
--- a/src/lib-http/http-client-connection.c	Mon Sep 29 14:16:06 2014 +0300
+++ b/src/lib-http/http-client-connection.c	Mon Sep 29 14:57:42 2014 +0300
@@ -1127,6 +1127,7 @@
 		/* the stream is still accessed by lib-http caller. */
 		i_stream_remove_destroy_callback(conn->incoming_payload,
 						 http_client_payload_destroyed);
+		conn->incoming_payload = NULL;
 	}
 
 	connection_disconnect(&conn->conn);


More information about the dovecot-cvs mailing list