dovecot-2.2: lib-http: Assert-crash in http_client_wait() if it'...

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 26 13:04:58 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/90d6ba26fb95
changeset: 15974:90d6ba26fb95
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 26 13:04:50 2013 +0200
description:
lib-http: Assert-crash in http_client_wait() if it's waiting without doing anything.

diffstat:

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

diffs (11 lines):

diff -r 4517f9b201f2 -r 90d6ba26fb95 src/lib-http/http-client.c
--- a/src/lib-http/http-client.c	Tue Feb 26 13:04:09 2013 +0200
+++ b/src/lib-http/http-client.c	Tue Feb 26 13:04:50 2013 +0200
@@ -163,6 +163,7 @@
 
 	client->ioloop = io_loop_create();
 	http_client_switch_ioloop(client);
+	i_assert(io_loop_have_ios(client->ioloop));
 
 	do {
 		http_client_debug(client,


More information about the dovecot-cvs mailing list