From: Stephan Bosch Date: Sun, 19 Jun 2016 20:31:18 +0000 (+0200) Subject: lib-http: server: Fixed handling of idle timeout when request just starts processing... X-Git-Tag: 2.2.25.rc1~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83d369656355f44474198df5a87fb3629295e6ca;p=thirdparty%2Fdovecot%2Fcore.git lib-http: server: Fixed handling of idle timeout when request just starts processing on the server. --- diff --git a/src/lib-http/http-server-connection.c b/src/lib-http/http-server-connection.c index 5ecd6b4a1c..eba584a595 100644 --- a/src/lib-http/http-server-connection.c +++ b/src/lib-http/http-server-connection.c @@ -234,6 +234,7 @@ static void http_server_payload_destroyed(struct http_server_request *req) case HTTP_SERVER_REQUEST_STATE_PAYLOAD_IN: /* finished reading request */ req->state = HTTP_SERVER_REQUEST_STATE_PROCESSING; + http_server_connection_timeout_stop(conn); if (req->response != NULL && req->response->submitted) http_server_request_submit_response(req); break;