]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: server: Fixed handling of idle timeout when request just starts processing...
authorStephan Bosch <stephan@dovecot.fi>
Sun, 19 Jun 2016 20:31:18 +0000 (22:31 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 20 Jun 2016 17:48:40 +0000 (20:48 +0300)
src/lib-http/http-server-connection.c

index 5ecd6b4a1cc379edac68b493d6afb4faba03a847..eba584a5959263dff14c1af94f5bb95a4c5a4f31 100644 (file)
@@ -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;