]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: http-server-connection - When connection is closed, abort requests with...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 13 Mar 2020 23:39:38 +0000 (00:39 +0100)
committermartti.rannanjarvi <martti.rannanjarvi@open-xchange.com>
Sat, 18 Apr 2020 14:55:11 +0000 (14:55 +0000)
src/lib-http/http-server-connection.c

index d9143b91564bd46dcd30d53cb0694216a5a29961..9e588201f542d636bf544adb8ee8a2e8793d0c38 100644 (file)
@@ -1116,7 +1116,7 @@ http_server_connection_disconnect(struct http_server_connection *conn,
        req = conn->request_queue_head;
        while (req != NULL) {
                req_next = req->next;
-               http_server_request_abort(&req, NULL);
+               http_server_request_abort(&req, reason);
                req = req_next;
        }