dovecot-2.2: lib-http: client: Aborted requests were not counted...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 24 22:39:46 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/9c6318786455
changeset: 17998:9c6318786455
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Oct 25 01:38:42 2014 +0300
description:
lib-http: client: Aborted requests were not counted as finished in the connection's response receive loop.
This caused a hang.

diffstat:

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

diffs (15 lines):

diff -r d4570546b51c -r 9c6318786455 src/lib-http/http-client-connection.c
--- a/src/lib-http/http-client-connection.c	Fri Oct 24 23:00:56 2014 +0300
+++ b/src/lib-http/http-client-connection.c	Sat Oct 25 01:38:42 2014 +0300
@@ -725,9 +725,9 @@
 				if (!http_client_connection_return_response(conn, req, &response))
 					return;
 			}
+		}
 
-			finished++;
-		}
+		finished++;
 
 		/* server closing connection? */
 		if (conn->close_indicated) {


More information about the dovecot-cvs mailing list