From: Stephan Bosch Date: Fri, 13 Mar 2020 23:39:38 +0000 (+0100) Subject: lib-http: http-server-connection - When connection is closed, abort requests with... X-Git-Tag: 2.3.11.2~258 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=803db25cc1abe7df061a1e863d82a9d7ff06b06b;p=thirdparty%2Fdovecot%2Fcore.git lib-http: http-server-connection - When connection is closed, abort requests with provided reason. --- diff --git a/src/lib-http/http-server-connection.c b/src/lib-http/http-server-connection.c index d9143b9156..9e588201f5 100644 --- a/src/lib-http/http-server-connection.c +++ b/src/lib-http/http-server-connection.c @@ -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; }