Mercurial > dovecot > core-2.2
changeset 17998:9c6318786455
lib-http: client: Aborted requests were not counted as finished in the connection's response receive loop.
This caused a hang.
author | Stephan Bosch <stephan@rename-it.nl> |
---|---|
date | Sat, 25 Oct 2014 01:38:42 +0300 |
parents | d4570546b51c |
children | d913fe3a926a |
files | src/lib-http/http-client-connection.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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) {