dovecot-2.2: lib-http: client: Fixed handling of response timout...

dovecot at dovecot.org dovecot at dovecot.org
Tue Oct 6 15:15:40 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/279c156c90e2
changeset: 19285:279c156c90e2
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Tue Oct 06 18:14:05 2015 +0300
description:
lib-http: client: Fixed handling of response timout if there is no payload going to the server.

diffstat:

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

diffs (11 lines):

diff -r ef458c0a98b1 -r 279c156c90e2 src/lib-http/http-client-request.c
--- a/src/lib-http/http-client-request.c	Sun Oct 04 21:52:29 2015 +0300
+++ b/src/lib-http/http-client-request.c	Tue Oct 06 18:14:05 2015 +0300
@@ -916,6 +916,7 @@
 			}
 		} else {
 			req->state = HTTP_REQUEST_STATE_WAITING;
+			http_client_connection_start_request_timeout(req->conn);
 			conn->output_locked = FALSE;
 		}
 		if (ret >= 0 && o_stream_flush(output) < 0) {


More information about the dovecot-cvs mailing list