dovecot-2.2: lib-http: client: The asserts recently added to htt...

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 26 16:44:58 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/583215301ba7
changeset: 18025:583215301ba7
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Oct 26 18:43:57 2014 +0200
description:
lib-http: client: The asserts recently added to http_connection_check_idle() are bogus.

diffstat:

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

diffs (13 lines):

diff -r d50151444c9a -r 583215301ba7 src/lib-http/http-client-connection.c
--- a/src/lib-http/http-client-connection.c	Sun Oct 26 02:03:22 2014 +0300
+++ b/src/lib-http/http-client-connection.c	Sun Oct 26 18:43:57 2014 +0200
@@ -209,9 +209,6 @@
 {
 	unsigned int timeout, count;
 
-	i_assert(!conn->close_indicated);
-	i_assert(!conn->output_broken);
-
 	if (conn->connected &&
 		array_is_created(&conn->request_wait_list) &&
 		array_count(&conn->request_wait_list) == 0 &&


More information about the dovecot-cvs mailing list