[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    dovecot-2.2: lib-http: Fixed assert-crash when http_client_conne...
From:       dovecot () dovecot ! org (dovecot at dovecot ! org)
Date:       2014-09-29 11:58:07
Message-ID: hg.475ff24ac365.1411991887.6920021320469856403 () talvi
[Download RAW message or body]

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);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic